summaryrefslogtreecommitdiff
path: root/ltm.c
diff options
context:
space:
mode:
Diffstat (limited to 'ltm.c')
-rw-r--r--ltm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltm.c b/ltm.c
index b2d36991..aa290185 100644
--- a/ltm.c
+++ b/ltm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.c,v 2.19 2013/04/29 16:56:50 roberto Exp roberto $ 2** $Id: ltm.c,v 2.20 2013/05/06 17:19:11 roberto Exp roberto $
3** Tag methods 3** Tag methods
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -43,7 +43,7 @@ void luaT_init (lua_State *L) {
43 int i; 43 int i;
44 for (i=0; i<TM_N; i++) { 44 for (i=0; i<TM_N; i++) {
45 G(L)->tmname[i] = luaS_new(L, luaT_eventname[i]); 45 G(L)->tmname[i] = luaS_new(L, luaT_eventname[i]);
46 luaS_fix(G(L)->tmname[i]); /* never collect these names */ 46 luaC_fix(L, obj2gco(G(L)->tmname[i])); /* never collect these names */
47 } 47 }
48} 48}
49 49