summaryrefslogtreecommitdiff
path: root/src/lapi.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <giann008@gmail.com>2017-02-26 15:13:22 +0100
committerBenoit Giannangeli <giann008@gmail.com>2017-02-26 22:54:27 +0100
commit94a301a27a8a75c4684790a99a898262b8354f68 (patch)
treeb8bc9c755cdd79f1027aef877a400de1356683c9 /src/lapi.js
parent616d80301734074e55cedec8ba187b5cab89ea95 (diff)
downloadfengari-94a301a27a8a75c4684790a99a898262b8354f68.tar.gz
fengari-94a301a27a8a75c4684790a99a898262b8354f68.tar.bz2
fengari-94a301a27a8a75c4684790a99a898262b8354f68.zip
math.random/randomseed
Diffstat (limited to 'src/lapi.js')
-rw-r--r--src/lapi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lapi.js b/src/lapi.js
index 4eb55cd..d0c099f 100644
--- a/src/lapi.js
+++ b/src/lapi.js
@@ -545,7 +545,7 @@ const lua_topointer = function(L, idx) {
const lua_compare = function(L, index1, index2, op) {
let o1 = index2addr(L, index1);
- let o2 = index2addr(L, index1);
+ let o2 = index2addr(L, index2);
return lua_compare_(L, o1, o2, op);
};