summaryrefslogtreecommitdiff
path: root/iup/srclua3/iuplua_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'iup/srclua3/iuplua_api.c')
-rwxr-xr-xiup/srclua3/iuplua_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iup/srclua3/iuplua_api.c b/iup/srclua3/iuplua_api.c
index 3221658..a9acf1d 100755
--- a/iup/srclua3/iuplua_api.c
+++ b/iup/srclua3/iuplua_api.c
@@ -182,7 +182,7 @@ static void GetAttribute(void)
char *name = luaL_check_string(2);
Ihandle* ih = iuplua_checkihandle(1);
char *value = IupGetAttribute(ih, name);
- if (!value || iupAttribIsInternal(name))
+ if (!value || iupATTRIB_ISINTERNAL(name))
lua_pushnil();
else
{