summaryrefslogtreecommitdiff
path: root/src/lua5/imlua_palette.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua5/imlua_palette.c')
-rw-r--r--src/lua5/imlua_palette.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua5/imlua_palette.c b/src/lua5/imlua_palette.c
index 80d23eb..135fe9a 100644
--- a/src/lua5/imlua_palette.c
+++ b/src/lua5/imlua_palette.c
@@ -2,7 +2,7 @@
* \brief IM Lua 5 Binding
*
* See Copyright Notice in im_lib.h
- * $Id: imlua_palette.c,v 1.1 2008/10/17 06:16:32 scuri Exp $
+ * $Id: imlua_palette.c,v 1.2 2010/06/11 17:43:52 scuri Exp $
*/
#include <string.h>
@@ -42,7 +42,7 @@ static imluaPalette* imlua_rawcheckpalette(lua_State *L, int param)
}
}
}
- luaL_typerror(L, param, "imPalette"); /* else error */
+ luaL_typeerror(L, param, "imPalette"); /* else error */
return NULL; /* to avoid warnings */
}