diff options
author | scuri <scuri> | 2010-06-11 17:28:54 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-06-11 17:28:54 +0000 |
commit | 78c33311d99b1c9b854669d9b634d602692a304b (patch) | |
tree | eabf71d8f88656e6ae18aa1c3e63a52bc1827bd9 /src/lua5 | |
parent | 2fb345fc972465ade03cc1d527ad3c8db3438ac5 (diff) |
*** empty log message ***
Diffstat (limited to 'src/lua5')
-rw-r--r-- | src/lua5/cdlua5.c | 2 | ||||
-rw-r--r-- | src/lua5/cdlua5ctx.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lua5/cdlua5.c b/src/lua5/cdlua5.c index c5d9537..a45bbd3 100644 --- a/src/lua5/cdlua5.c +++ b/src/lua5/cdlua5.c @@ -87,7 +87,7 @@ static cdluaPalette* cdlua_rawcheckpalette(lua_State *L, int param) } } } - luaL_typerror(L, param, "cdPalette"); /* else error */ + luaL_typeerror(L, param, "cdPalette"); /* else error */ return NULL; /* to avoid warnings */ } diff --git a/src/lua5/cdlua5ctx.c b/src/lua5/cdlua5ctx.c index b4c899b..71f090d 100644 --- a/src/lua5/cdlua5ctx.c +++ b/src/lua5/cdlua5ctx.c @@ -1,5 +1,5 @@ /***************************************************************************\ -* $Id: cdlua5ctx.c,v 1.3 2010/04/23 14:27:10 scuri Exp $ +* $Id: cdlua5ctx.c,v 1.4 2010/06/11 17:28:56 scuri Exp $ * * \***************************************************************************/ @@ -397,7 +397,7 @@ static void *cdimagergb_checkdata(lua_State* L, int param) int ret = cdlua_rawchecktype(L, param, "cdBitmap"); if (ret == 0) - luaL_typerror(L, param, "cdBitmap"); /* not a user data and not a metatable */ + luaL_typeerror(L, param, "cdBitmap"); /* not a user data and not a metatable */ if (ret == 1) { @@ -487,7 +487,7 @@ static void *cdimagergb_checkdata(lua_State* L, int param) return data_s; } - luaL_typerror(L, param, "cdBitmap"); /* is a metatable but it is not one of the accepted */ + luaL_typeerror(L, param, "cdBitmap"); /* is a metatable but it is not one of the accepted */ } return data_s; |