lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hmm.. Let me just make a small correction :-)

----- Original Message ----- 
> if (lua_state->LastError != 0)
> {
>   lua_state->LastError2 = lua_state->LastError;
>   lua_state->LastError = 0;
> }

Should just be:

lua_state->LastError2 = lua_state->LastError;
lua_state->LastError = 0;

Forget the if () ...

/Erik