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/iuplua_imglib.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'iup/srclua5/iuplua_imglib.c') diff --git a/iup/srclua5/iuplua_imglib.c b/iup/srclua5/iuplua_imglib.c index bece6d5..9eb1123 100755 --- a/iup/srclua5/iuplua_imglib.c +++ b/iup/srclua5/iuplua_imglib.c @@ -27,9 +27,8 @@ static int iupluaimglib_open (lua_State *L) { IupImageLibOpen(); - iuplua_changeEnv(L); + iuplua_get_env(L); iuplua_register(L, imagelibopen, "ImageLibOpen"); - iuplua_returnEnv(L); return 0; /* nothing in stack */ } -- cgit v1.2.3