diff options
author | Benoit Giannangeli <giann008@gmail.com> | 2017-05-19 20:56:21 +0200 |
---|---|---|
committer | Benoit Giannangeli <giann008@gmail.com> | 2017-05-19 20:56:21 +0200 |
commit | 1039bb09ecd50e6032173dcfb792c56cbd2b618a (patch) | |
tree | dff6a51fc7fc81fbea984a85ce1f3b563e02a42b /src | |
parent | d7f4cd696c9245870eabd5f57d3000a70aaad64b (diff) | |
download | fengari-1039bb09ecd50e6032173dcfb792c56cbd2b618a.tar.gz fengari-1039bb09ecd50e6032173dcfb792c56cbd2b618a.tar.bz2 fengari-1039bb09ecd50e6032173dcfb792c56cbd2b618a.zip |
[test-suite] nextvar.js, fixed bad comparison in LTNum
Diffstat (limited to 'src')
-rw-r--r-- | src/lvm.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -835,7 +835,7 @@ const LTnum = function(l, r) { if (r.ttisinteger()) return l.value < r.value ? 1 : 0; else - return LTintfloat(r.value, l.value); + return LTintfloat(l.value, r.value); } else { if (r.ttisfloat()) return l.value < r.value ? 1 : 0; |