aboutsummaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-06-02 16:09:36 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-06-02 16:09:36 -0300
commit118e471fa0fd9db1c3a4b966a4312f65d4aa33a7 (patch)
tree1533a5ace50fbe28ef6d784399cf41dfb6501dc1 /lstate.c
parentba9878fcb8ea64bf582c561ed0f472fd6fd0d850 (diff)
downloadlua-118e471fa0fd9db1c3a4b966a4312f65d4aa33a7.tar.gz
lua-118e471fa0fd9db1c3a4b966a4312f65d4aa33a7.tar.bz2
lua-118e471fa0fd9db1c3a4b966a4312f65d4aa33a7.zip
details
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lstate.c b/lstate.c
index 890d1d77..db4efa03 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 2.6 2004/04/30 20:13:38 roberto Exp roberto $ 2** $Id: lstate.c,v 2.7 2004/05/31 18:51:50 roberto Exp roberto $
3** Global State 3** Global State
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -189,7 +189,8 @@ LUA_API lua_State *lua_newstate (lua_Alloc f, void *ud) {
189 close_state(L); 189 close_state(L);
190 L = NULL; 190 L = NULL;
191 } 191 }
192 lua_userstateopen(L); 192 else
193 lua_userstateopen(L);
193 return L; 194 return L;
194} 195}
195 196