diff options
Diffstat (limited to 'luatablegen.py')
-rwxr-xr-x | luatablegen.py | 2 |
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; } """ |