diff options
Diffstat (limited to '')
-rw-r--r-- | lgc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.c,v 1.32 1999/11/22 13:12:07 roberto Exp roberto $ | 2 | ** $Id: lgc.c,v 1.33 1999/11/23 13:58:02 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -208,7 +208,7 @@ static void collectstring (lua_State *L, int limit) { | |||
208 | } | 208 | } |
209 | } | 209 | } |
210 | if ((tb->nuse+1)*6 < tb->size) | 210 | if ((tb->nuse+1)*6 < tb->size) |
211 | luaS_grow(L, tb); /* table is too big; `grow' it to a smaller size */ | 211 | luaS_resize(L, tb, tb->size/2); /* table is too big */ |
212 | } | 212 | } |
213 | } | 213 | } |
214 | 214 | ||