lua: fix non-sense

Let's actually test our code next time.
This commit is contained in:
wm4 2014-10-23 15:11:49 +02:00
parent 7cf18a8db9
commit 626dcf1772
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ static int mp_cpcall (lua_State *L, lua_CFunction func, void *ud)
// pushed to the stack.
static void mp_lua_optarg(lua_State *L, int arg)
{
while (arg < lua_gettop(L))
while (arg > lua_gettop(L))
lua_pushnil(L);
}