summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/Modules/m_clist.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-20 13:25:21 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-20 13:25:21 +0300
commit509fbd91ed545d05cc266a80ec19fe7b9c9d28db (patch)
tree09c2d97d212c0820f6d5e85d7e583b8a56b26ef8 /plugins/MirLua/src/Modules/m_clist.cpp
parentc90b4443c10b08eeae9466428255fe8ff7b48d6d (diff)
we don't need two name sets for the same array of functions
Diffstat (limited to 'plugins/MirLua/src/Modules/m_clist.cpp')
-rw-r--r--plugins/MirLua/src/Modules/m_clist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/Modules/m_clist.cpp b/plugins/MirLua/src/Modules/m_clist.cpp
index 0b6d390004..6de506cfd0 100644
--- a/plugins/MirLua/src/Modules/m_clist.cpp
+++ b/plugins/MirLua/src/Modules/m_clist.cpp
@@ -44,7 +44,7 @@ static int clist_AddMainMenuRoot(lua_State *L)
int position = lua_tointeger(L, 2);
HANDLE hIcon = (HANDLE)lua_touserdata(L, 3);
- HGENMENU res = g_plugin.addRootMenu(MO_MAIN, ptrW(Utf8DecodeW(name)), position, hIcon);
+ HGENMENU res = g_plugin.addRootMenu(MO_MAIN, ptrW(mir_utf8decodeW(name)), position, hIcon);
if (res != nullptr)
lua_pushlightuserdata(L, res);
else
@@ -75,7 +75,7 @@ static int clist_AddContactMenuRoot(lua_State *L)
int position = lua_tointeger(L, 2);
HANDLE hIcon = (HANDLE)lua_touserdata(L, 3);
- HGENMENU res = g_plugin.addRootMenu(MO_MAIN, ptrW(Utf8DecodeW(name)), position, hIcon);
+ HGENMENU res = g_plugin.addRootMenu(MO_MAIN, ptrW(mir_utf8decodeW(name)), position, hIcon);
if (res != nullptr)
lua_pushlightuserdata(L, res);
else