lua

A copy of the Lua development repository
Log | Files | Refs | README

commit fffbaede758abe3b460621962113c352dbd7c605
parent ae9ad6c69403252adf05410b89d0353ed774e7e2
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Fri,  3 Apr 2009 12:57:39 -0300

detail

Diffstat:
Mlapi.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lapi.h b/lapi.h @@ -1,5 +1,5 @@ /* -** $Id: lapi.h,v 2.3 2006/07/11 15:53:29 roberto Exp roberto $ +** $Id: lapi.h,v 2.4 2009/03/10 17:14:37 roberto Exp roberto $ ** Auxiliary functions from Lua API ** See Copyright Notice in lua.h */ @@ -14,7 +14,7 @@ #define api_incr_top(L) {L->top++; api_check(L, L->top <= L->ci->top);} #define adjustresults(L,nres) \ - { if ((nres) == LUA_MULTRET && L->top >= L->ci->top) L->ci->top = L->top; } + { if ((nres) == LUA_MULTRET && L->ci->top < L->top) L->ci->top = L->top; } #endif