diff options
Diffstat (limited to 'iup/srclua5/iuplua_controls.c')
-rwxr-xr-x | iup/srclua5/iuplua_controls.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/iup/srclua5/iuplua_controls.c b/iup/srclua5/iuplua_controls.c index bd961bf..22992f4 100755 --- a/iup/srclua5/iuplua_controls.c +++ b/iup/srclua5/iuplua_controls.c @@ -20,7 +20,7 @@ int iupcontrolslua_open(lua_State * L) if (iuplua_opencall_internal(L)) IupControlsOpen(); - iuplua_changeEnv(L); + iuplua_get_env(L); iupgaugelua_open(L); iupmatrixlua_open(L); @@ -30,8 +30,6 @@ int iupcontrolslua_open(lua_State * L) iupcellslua_open(L); iupcolorbarlua_open(L); - iuplua_returnEnv(L); - return 0; } |