From e498e2e961e0edf547cbc478797e69ec8a8d42d4 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Thu, 11 Jun 2015 14:21:40 +0000 Subject: MirLua: fixed utf8 decoding git-svn-id: http://svn.miranda-ng.org/main/trunk@14117 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/m_genmenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/MirLua/src/m_genmenu.cpp') diff --git a/plugins/MirLua/src/m_genmenu.cpp b/plugins/MirLua/src/m_genmenu.cpp index 83001cd27b..3ded59d384 100644 --- a/plugins/MirLua/src/m_genmenu.cpp +++ b/plugins/MirLua/src/m_genmenu.cpp @@ -7,7 +7,7 @@ static CLISTMENUITEM* MakeMenuItem(lua_State *L) lua_pushstring(L, "Name"); lua_gettable(L, -2); - pmi->pszName = LPGEN((char*)luaL_checkstring(L, -1)); + pmi->pszName = mir_utf8decode((char*)luaL_checkstring(L, -1), NULL); lua_pop(L, 1); lua_pushstring(L, "Flags"); -- cgit v1.2.3