aboutsummaryrefslogtreecommitdiff
path: root/lbaselib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lbaselib.c')
-rw-r--r--lbaselib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lbaselib.c b/lbaselib.c
index adb9af0c..bb66ab32 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -20,9 +20,8 @@
20 20
21 21
22static void aux_setn (lua_State *L, int t, int n) { 22static 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