summaryrefslogtreecommitdiff
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 3a381455..d3eadab8 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.16 2000/03/30 20:55:50 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.17 2000/05/08 19:32:53 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*/
@@ -197,7 +197,7 @@ int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar) {
197 case 'f': 197 case 'f':
198 setnormalized(L->top, func); 198 setnormalized(L->top, func);
199 incr_top; 199 incr_top;
200 ar->func = luaA_putObjectOnTop(L); 200 ar->func = lua_pop(L);
201 break; 201 break;
202 default: return 0; /* invalid option */ 202 default: return 0; /* invalid option */
203 } 203 }