diff options
Diffstat (limited to 'lbaselib.c')
-rw-r--r-- | lbaselib.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -20,9 +20,8 @@ | |||
20 | 20 | ||
21 | 21 | ||
22 | static void aux_setn (lua_State *L, int t, int n) { | 22 | static void aux_setn (lua_State *L, int t, int n) { |
23 | lua_pushliteral(L, "n"); | ||
24 | lua_pushnumber(L, n); | 23 | lua_pushnumber(L, n); |
25 | lua_settable(L, t); | 24 | lua_setstr(L, t, "n"); |
26 | } | 25 | } |
27 | 26 | ||
28 | 27 | ||