summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_utils.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-07-26 11:43:31 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-07-26 11:43:31 +0000
commitaf8d02de12c94a733a543ee346125cfa34d6372e (patch)
treeff7aa933f4b673dd4129d9311897b5cf97d8788f /plugins/MirLua/src/mlua_utils.cpp
parent0d4b9afed8f129ea96d07c441cf6981f7237bab2 (diff)
MirLua: added find files iterator and registry functions to m_windows
git-svn-id: http://svn.miranda-ng.org/main/trunk@14721 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_utils.cpp')
-rw-r--r--plugins/MirLua/src/mlua_utils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/MirLua/src/mlua_utils.cpp b/plugins/MirLua/src/mlua_utils.cpp
index 31af863da2..04c41a5c6e 100644
--- a/plugins/MirLua/src/mlua_utils.cpp
+++ b/plugins/MirLua/src/mlua_utils.cpp
@@ -12,6 +12,8 @@ int luaM_print(lua_State *L)
data.AppendFormat("%s ", "nil");
break;
case LUA_TBOOLEAN:
+ data.AppendFormat("%s ", lua_toboolean(L, i) ? "true" : "false");
+ break;
case LUA_TNUMBER:
case LUA_TSTRING:
data.AppendFormat("%s ", lua_tostring(L, i));