summaryrefslogtreecommitdiff
path: root/iup/srclua5/iuplua_controls.c
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
committerPixel <pixel@nobis-crew.org>2010-06-15 00:59:57 -0700
commiteed0eb6a476d54ce19aeff137984aa981d9e3976 (patch)
tree807891636efd2f87dcbd261e971216269973ae07 /iup/srclua5/iuplua_controls.c
parentccc8261e4d48de89da4ddfe7b55e378ae0cd6f47 (diff)
Upgrading to iup 3.1
Diffstat (limited to 'iup/srclua5/iuplua_controls.c')
-rwxr-xr-xiup/srclua5/iuplua_controls.c4
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;
}