From eed0eb6a476d54ce19aeff137984aa981d9e3976 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 15 Jun 2010 00:59:57 -0700 Subject: Upgrading to iup 3.1 --- iup/srclua5/il_frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iup/srclua5/il_frame.c') diff --git a/iup/srclua5/il_frame.c b/iup/srclua5/il_frame.c index 7bf41db..cfc5314 100755 --- a/iup/srclua5/il_frame.c +++ b/iup/srclua5/il_frame.c @@ -14,7 +14,7 @@ static int Frame(lua_State *L) { - Ihandle *ih = IupFrame(iuplua_checkihandle(L, 1)); + Ihandle *ih = IupFrame(iuplua_checkihandleornil(L, 1)); iuplua_plugstate(L, ih); iuplua_pushihandle_raw(L, ih); return 1; -- cgit v1.2.3