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.13 1998/01/02 17:46:32 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 1.14 1998/03/09 21:49:52 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 | */ |
@@ -148,7 +148,7 @@ void luaT_settagmethod (int t, char *event, TObject *func) | |||
148 | int e = luaI_checkevent(event, luaT_eventname); | 148 | int e = luaI_checkevent(event, luaT_eventname); |
149 | checktag(t); | 149 | checktag(t); |
150 | if (!validevent(t, e)) | 150 | if (!validevent(t, e)) |
151 | luaL_verror("settagmethod: cannot change internal method `%.20s' for tag %d", | 151 | luaL_verror("settagmethod: cannot change tag method `%.20s' for tag %d", |
152 | luaT_eventname[e], t); | 152 | luaT_eventname[e], t); |
153 | *func = *luaT_getim(t,e); | 153 | *func = *luaT_getim(t,e); |
154 | *luaT_getim(t, e) = temp; | 154 | *luaT_getim(t, e) = temp; |