summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_core.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-07-12 12:57:37 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-07-12 12:57:37 +0000
commit9677b394a0977382ed4a406de039ef370cfd29a2 (patch)
treef5585e9ca4e6a755308680100e46f3aa5f6ffce4 /plugins/MirLua/src/m_core.cpp
parenta36fb8e8cdc86ef569c4e75eebabbf341f801ffb (diff)
MirLua:
- lua_Utf8DecodeA SHOULD return pointer - added OnContactSettingChanged to m_database - extended lua print logging git-svn-id: http://svn.miranda-ng.org/main/trunk@14541 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_core.cpp')
-rw-r--r--plugins/MirLua/src/m_core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_core.cpp b/plugins/MirLua/src/m_core.cpp
index 1ce4c6fcdb..2a5564a07b 100644
--- a/plugins/MirLua/src/m_core.cpp
+++ b/plugins/MirLua/src/m_core.cpp
@@ -165,7 +165,7 @@ static int lua_Utf8DecodeA(lua_State *L)
const char *string = luaL_checkstring(L, 1);
char *res = mir_utf8decodeA(string);
- lua_pushstring(L, res);
+ lua_pushlightuserdata(L, res);
return 1;
}