summaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lvm.c b/lvm.c
index 774beeee..da8876dd 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lvm.c,v 1.188 2001/06/26 13:20:45 roberto Exp roberto $ 2** $Id: lvm.c,v 1.189 2001/06/28 14:48:44 roberto Exp roberto $
3** Lua virtual machine 3** Lua virtual machine
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -644,7 +644,7 @@ StkId luaV_execute (lua_State *L, const Closure *cl, StkId base) {
644 break; 644 break;
645 } 645 }
646 case OP_CLOSURE: { 646 case OP_CLOSURE: {
647 Proto *p = tf->kproto[GETARG_Bc(i)]; 647 Proto *p = tf->p[GETARG_Bc(i)];
648 int nup = p->nupvalues; 648 int nup = p->nupvalues;
649 luaV_checkGC(L, ra+nup); 649 luaV_checkGC(L, ra+nup);
650 L->top = ra+nup; 650 L->top = ra+nup;