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.7 1997/11/10 17:47:01 roberto Exp roberto $ | 2 | ** $Id: ltm.c,v 1.8 1997/11/19 17:29:23 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 | */ |
| @@ -131,7 +131,7 @@ void luaT_settagmethod (int t, char *event, TObject *func) | |||
| 131 | int e = luaI_checkevent(event, luaT_eventname); | 131 | int e = luaI_checkevent(event, luaT_eventname); |
| 132 | checktag(t); | 132 | checktag(t); |
| 133 | if (!validevent(t, e)) | 133 | if (!validevent(t, e)) |
| 134 | luaL_verror("settagmethod: cannot change internal method `%s' for tag %d", | 134 | luaL_verror("settagmethod: cannot change internal method `%.20s' for tag %d", |
| 135 | luaT_eventname[e], t); | 135 | luaT_eventname[e], t); |
| 136 | *func = *luaT_getim(t,e); | 136 | *func = *luaT_getim(t,e); |
| 137 | *luaT_getim(t, e) = temp; | 137 | *luaT_getim(t, e) = temp; |
