summaryrefslogtreecommitdiff
path: root/src/cat/LuaCheckbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cat/LuaCheckbox.cpp')
-rw-r--r--src/cat/LuaCheckbox.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cat/LuaCheckbox.cpp b/src/cat/LuaCheckbox.cpp
index 844573e..8256730 100644
--- a/src/cat/LuaCheckbox.cpp
+++ b/src/cat/LuaCheckbox.cpp
@@ -53,7 +53,6 @@ int LuaCheckbox::checked(lua_State * l)
int args = lua_gettop(l);
if(args)
{
- luaL_checktype(l, 1, LUA_TBOOLEAN);
checkbox->SetChecked(lua_toboolean(l, 1));
return 0;
}
@@ -84,7 +83,6 @@ int LuaCheckbox::text(lua_State * l)
int args = lua_gettop(l);
if(args)
{
- luaL_checktype(l, 1, LUA_TSTRING);
checkbox->SetText(lua_tostring(l, 1));
return 0;
}