summaryrefslogtreecommitdiff
path: root/lstate.c
diff options
context:
space:
mode:
Diffstat (limited to 'lstate.c')
-rw-r--r--lstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstate.c b/lstate.c
index e4e0bc33..9a3df644 100644
--- a/lstate.c
+++ b/lstate.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.c,v 1.42 2000/09/29 12:42:13 roberto Exp roberto $ 2** $Id: lstate.c,v 1.43 2000/10/05 13:00:17 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*/
@@ -89,7 +89,7 @@ lua_State *lua_open (int stacksize) {
89 lua_close(L); 89 lua_close(L);
90 return NULL; 90 return NULL;
91 } 91 }
92 L->GCthreshold = L->nblocks*4; 92 L->GCthreshold = 2*L->nblocks;
93 return L; 93 return L;
94} 94}
95 95