summaryrefslogtreecommitdiff
path: root/src/lvm.js
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2017-05-29 14:13:28 +1000
committerdaurnimator <quae@daurnimator.com>2017-05-29 14:35:56 +1000
commitf87a838f498c2ec6536ba813d7ae83bd1e78a506 (patch)
tree2d8478b46f1a7b4db9a9ee8fe8c25162091395fe /src/lvm.js
parent5e169fc1ed36d9cef5f021b1b8be8867902dbdbb (diff)
downloadfengari-f87a838f498c2ec6536ba813d7ae83bd1e78a506.tar.gz
fengari-f87a838f498c2ec6536ba813d7ae83bd1e78a506.tar.bz2
fengari-f87a838f498c2ec6536ba813d7ae83bd1e78a506.zip
luaO_tostring should modify TValue
Diffstat (limited to 'src/lvm.js')
-rw-r--r--src/lvm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lvm.js b/src/lvm.js
index 5f32129..bb5a615 100644
--- a/src/lvm.js
+++ b/src/lvm.js
@@ -1080,7 +1080,7 @@ const tostring = function(L, i) {
if (o.ttisstring()) return true;
if (cvt2str(o)) {
- lobject.setsvalue2s(L, i, lobject.luaO_tostring(L, o));
+ lobject.luaO_tostring(L, o);
return true;
}