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 c462768d..f0b71758 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.70 2001/02/23 20:30:52 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.71 2001/03/02 17:27:50 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*/
@@ -223,7 +223,7 @@ static void funcinfo (lua_State *L, lua_Debug *ar, StkId func) {
223 } 223 }
224 else 224 else
225 infoLproto(ar, cl->f.l); 225 infoLproto(ar, cl->f.l);
226 luaO_chunkid(ar->short_src, ar->source, sizeof(ar->short_src)); 226 luaO_chunkid(ar->short_src, ar->source, LUA_IDSIZE);
227 if (ar->linedefined == 0) 227 if (ar->linedefined == 0)
228 ar->what = l_s("main"); 228 ar->what = l_s("main");
229} 229}