aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldebug.c b/ldebug.c
index 72344181..b3cc80d8 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.50 2000/10/30 12:38:50 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.51 2000/11/30 18:50:47 roberto Exp roberto $
3** Debug Interface 3** Debug Interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -210,7 +210,7 @@ static const char *travtagmethods (lua_State *L, const TObject *o) {
210 int e; 210 int e;
211 for (e=0; e<TM_N; e++) { 211 for (e=0; e<TM_N; e++) {
212 int t; 212 int t;
213 for (t=0; t<=L->last_tag; t++) 213 for (t=0; t<L->ntag; t++)
214 if (clvalue(o) == luaT_gettm(L, t, e)) 214 if (clvalue(o) == luaT_gettm(L, t, e))
215 return luaT_eventname[e]; 215 return luaT_eventname[e];
216 } 216 }