diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-03-11 10:59:50 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-03-11 10:59:50 -0300 |
commit | 99cc4b20f2c9e33600948fb0489c6d1d1c160518 (patch) | |
tree | f6d49f35b1417962c56c88def347dd6d796360ac /ltm.c | |
parent | 0969a971cd41921bd5ee72c1da880455bcca3bb4 (diff) | |
download | lua-99cc4b20f2c9e33600948fb0489c6d1d1c160518.tar.gz lua-99cc4b20f2c9e33600948fb0489c6d1d1c160518.tar.bz2 lua-99cc4b20f2c9e33600948fb0489c6d1d1c160518.zip |
details
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; |