diff options
Diffstat (limited to 'iup/srclua5/il_frame.c')
-rwxr-xr-x | iup/srclua5/il_frame.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |