aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_debug.c b/src/lj_debug.c
index a684302c..7222e2ac 100644
--- a/src/lj_debug.c
+++ b/src/lj_debug.c
@@ -440,7 +440,7 @@ int lj_debug_getinfo(lua_State *L, const char *what, lj_Debug *ar, int ext)
440 GCfunc *fn; 440 GCfunc *fn;
441 if (*what == '>') { 441 if (*what == '>') {
442 TValue *func = L->top - 1; 442 TValue *func = L->top - 1;
443 api_check(L, tvisfunc(func)); 443 if (!tvisfunc(func)) return 0;
444 fn = funcV(func); 444 fn = funcV(func);
445 L->top--; 445 L->top--;
446 what++; 446 what++;