summaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-07-21 21:59:36 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-07-21 21:59:36 -0300
commit45b173cbf89597123267a69bace778cf498d6c98 (patch)
tree561573acd810544ba8c743df0335e5fbe64f302c /lapi.c
parenta94cba4b88a940cba7a35244b8a1b393f33a905c (diff)
downloadlua-45b173cbf89597123267a69bace778cf498d6c98.tar.gz
lua-45b173cbf89597123267a69bace778cf498d6c98.tar.bz2
lua-45b173cbf89597123267a69bace778cf498d6c98.zip
warnings/details
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index 0d23b4c3..60877553 100644
--- a/lapi.c
+++ b/lapi.c
@@ -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);