diff options
Diffstat (limited to 'ltm.c')
-rw-r--r-- | ltm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltm.c,v 1.64 2001/01/26 11:45:51 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 1.65 2001/02/02 15:13:05 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 | */ |
@@ -150,7 +150,7 @@ const char *luaT_typename (global_State *G, const TObject *o) { | |||
150 | ts = G->TMtable[tag].name; | 150 | ts = G->TMtable[tag].name; |
151 | if (ts == NULL) | 151 | if (ts == NULL) |
152 | ts = G->TMtable[t].name; | 152 | ts = G->TMtable[t].name; |
153 | return ts->str; | 153 | return getstr(ts); |
154 | } | 154 | } |
155 | 155 | ||
156 | 156 | ||