diff options
Diffstat (limited to 'ldebug.c')
-rw-r--r-- | ldebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldebug.c,v 1.66 2001/02/20 18:28:11 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 1.67 2001/02/21 16:52:09 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 | */ |
@@ -277,7 +277,7 @@ LUA_API int lua_getinfo (lua_State *L, const char *what, lua_Debug *ar) { | |||
277 | if (isactive) | 277 | if (isactive) |
278 | func = ar->_func; | 278 | func = ar->_func; |
279 | else { | 279 | else { |
280 | what++; /* skip the '>' */ | 280 | what++; /* skip the `>' */ |
281 | func = L->top - 1; | 281 | func = L->top - 1; |
282 | } | 282 | } |
283 | for (; *what; what++) { | 283 | for (; *what; what++) { |