From fffbaede758abe3b460621962113c352dbd7c605 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 3 Apr 2009 12:58:03 -0300 Subject: [PATCH] detail --- lapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lapi.h b/lapi.h index 82ff87c6..62d91d43 100644 --- 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