summaryrefslogtreecommitdiff
path: root/src/ltm.js
diff options
context:
space:
mode:
authorBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-15 07:45:45 +0100
committerBenoit Giannangeli <benoit.giannangeli@boursorama.fr>2017-02-15 07:45:45 +0100
commit1c19f45c6b537dacfc0d57999d57cd4eef9399e9 (patch)
tree8d335312dbf4c663db129443093e68e3c0afc0b4 /src/ltm.js
parent829e47b9bd568c5722e9f59ca05036d2ae912ddf (diff)
downloadfengari-1c19f45c6b537dacfc0d57999d57cd4eef9399e9.tar.gz
fengari-1c19f45c6b537dacfc0d57999d57cd4eef9399e9.tar.bz2
fengari-1c19f45c6b537dacfc0d57999d57cd4eef9399e9.zip
__le, __lt, __eq
Diffstat (limited to 'src/ltm.js')
-rw-r--r--src/ltm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ltm.js b/src/ltm.js
index 4dc9cc7..f5c34b0 100644
--- a/src/ltm.js
+++ b/src/ltm.js
@@ -79,7 +79,7 @@ const luaT_trybinTM = function(L, p1, p2, res, event) {
};
const luaT_callorderTM = function(L, p1, p2, event) {
- if (!luaT_callbinTM(L, p2, p2, L.top, event))
+ if (!luaT_callbinTM(L, p1, p2, L.top, event))
return -1;
else
return !L.stack[L.top].l_isfalse() ? 1 : 0;