diff options
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 1.147 2001/06/26 13:20:45 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 1.148 2001/07/12 18:11:58 roberto Exp roberto $ |
3 | ** Lua API | 3 | ** Lua API |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -489,7 +489,7 @@ LUA_API int lua_ref (lua_State *L, int lock) { | |||
489 | lua_rawseti(L, -2, ref); | 489 | lua_rawseti(L, -2, ref); |
490 | lua_pop(L, 1); /* remove registry */ | 490 | lua_pop(L, 1); /* remove registry */ |
491 | } | 491 | } |
492 | lua_pushliteral(L, "n"); | 492 | lua_pushliteral(L, l_s("n")); |
493 | lua_pushnumber(L, ref); | 493 | lua_pushnumber(L, ref); |
494 | lua_settable(L, -3); | 494 | lua_settable(L, -3); |
495 | lua_pop(L, 2); | 495 | lua_pop(L, 2); |