aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-09-17 23:08:56 +0000
committerbloodstalker <thabogre@gmail.com>2018-09-17 23:08:56 +0000
commitbd9f0b0d72cf01611a0ad9d3a5373c313ce7e173 (patch)
tree11639d2e0b8ff996eb59155e8de097b7e4b1cd6e
parentupdate (diff)
downloadluatablegen-bd9f0b0d72cf01611a0ad9d3a5373c313ce7e173.tar.gz
luatablegen-bd9f0b0d72cf01611a0ad9d3a5373c313ce7e173.zip
update
-rwxr-xr-xluatablegen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/luatablegen.py b/luatablegen.py
index 7670429..45331f5 100755
--- a/luatablegen.py
+++ b/luatablegen.py
@@ -95,9 +95,9 @@ int pushluatable_YYY(lua_State* ls, XXX array) {
lua_pushinteger(ls, i+1);
WWW_push_args(ls, array[i]);
new_WWW(ls);
- lua_settable(ls, -3);
i++;
}
+ lua_settable(ls, -3);
return 0;
}
"""