aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
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 d51ac270..99666bce 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 2.31 2005/03/09 16:28:07 roberto Exp roberto $ 2** $Id: lapi.c,v 2.32 2005/03/16 16:58:41 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*/
@@ -141,7 +141,7 @@ LUA_API lua_State *lua_newthread (lua_State *L) {
141 setthvalue(L, L->top, L1); 141 setthvalue(L, L->top, L1);
142 api_incr_top(L); 142 api_incr_top(L);
143 lua_unlock(L); 143 lua_unlock(L);
144 lua_userstateopen(L1); 144 luai_userstateopen(L1);
145 return L1; 145 return L1;
146} 146}
147 147