summaryrefslogtreecommitdiff
path: root/plugins/MirLua
diff options
context:
space:
mode:
authorVlad Mironov <mironych@googlemail.com>2015-07-11 07:01:26 +0000
committerVlad Mironov <mironych@googlemail.com>2015-07-11 07:01:26 +0000
commitef145ec232ee4453092e7479b2dee73af96a9b11 (patch)
tree584d5556c7caf0e6c813888cd5ea8a9a712e2bd4 /plugins/MirLua
parent9013bb5ec7cf922e25d534da2e4b4954d7e0e02d (diff)
mir_utf8decodeA returns string, not pointer
git-svn-id: http://svn.miranda-ng.org/main/trunk@14534 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua')
-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 2a5564a07b..1ce4c6fcdb 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_pushlightuserdata(L, res);
+ lua_pushstring(L, res);
return 1;
}