diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-06-30 20:40:39 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-06-30 20:40:39 +0000 |
commit | fce279191e7b00a56ff5ca0e81dbb1a3fcee354f (patch) | |
tree | 66c2acd470d63ebac991b9cd09c498ab606ea11f /plugins/MirLua/src/mlua_utils.cpp | |
parent | a8c93cfbf235c31cf604cb6bd40009e9bf88f36a (diff) |
MirLua: fixed m_genmenu merge
git-svn-id: http://svn.miranda-ng.org/main/trunk@14463 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_utils.cpp')
-rw-r--r-- | plugins/MirLua/src/mlua_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/mlua_utils.cpp b/plugins/MirLua/src/mlua_utils.cpp index 371b23d95b..d4eded5ea9 100644 --- a/plugins/MirLua/src/mlua_utils.cpp +++ b/plugins/MirLua/src/mlua_utils.cpp @@ -3,7 +3,7 @@ bool luaM_checkboolean(lua_State *L, int idx)
{
luaL_checktype(L, 2, LUA_TBOOLEAN);
- return lua_toboolean(L, idx);
+ return lua_toboolean(L, idx) > 0;
}
WPARAM luaM_towparam(lua_State *L, int idx)
|