summaryrefslogtreecommitdiff
path: root/plugins/MirLua/Modules/m_variables/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/Modules/m_variables/src/main.cpp')
-rw-r--r--plugins/MirLua/Modules/m_variables/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/Modules/m_variables/src/main.cpp b/plugins/MirLua/Modules/m_variables/src/main.cpp
index 308325e202..a9c5204f96 100644
--- a/plugins/MirLua/Modules/m_variables/src/main.cpp
+++ b/plugins/MirLua/Modules/m_variables/src/main.cpp
@@ -8,7 +8,7 @@ static int lua_Parse(lua_State *L)
return 1;
}
- ptrT format(mir_utf8decodeT(luaL_checkstring(L, 1)));
+ ptrW format(mir_utf8decodeW(luaL_checkstring(L, 1)));
MCONTACT hContact = lua_tointeger(L, 2);
wchar_t *res = variables_parse_ex(format, NULL, hContact, NULL, 0);