diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-02-26 15:13:22 +0100 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-02-26 22:54:27 +0100 |
commit | 94a301a27a8a75c4684790a99a898262b8354f68 (patch) | |
tree | b8bc9c755cdd79f1027aef877a400de1356683c9 /src/lapi.js | |
parent | 616d80301734074e55cedec8ba187b5cab89ea95 (diff) | |
download | fengari-94a301a27a8a75c4684790a99a898262b8354f68.tar.gz fengari-94a301a27a8a75c4684790a99a898262b8354f68.tar.bz2 fengari-94a301a27a8a75c4684790a99a898262b8354f68.zip |
math.random/randomseed
Diffstat (limited to 'src/lapi.js')
-rw-r--r-- | src/lapi.js | 2 |
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); }; |