From 509fbd91ed545d05cc266a80ec19fe7b9c9d28db Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 20 Jul 2018 13:25:21 +0300 Subject: we don't need two name sets for the same array of functions --- plugins/MirLua/Modules/WinAPI/src/winapi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/MirLua/Modules') diff --git a/plugins/MirLua/Modules/WinAPI/src/winapi.cpp b/plugins/MirLua/Modules/WinAPI/src/winapi.cpp index 11b7daebd7..b5184af254 100644 --- a/plugins/MirLua/Modules/WinAPI/src/winapi.cpp +++ b/plugins/MirLua/Modules/WinAPI/src/winapi.cpp @@ -218,7 +218,7 @@ static int lua_GetRegValue(lua_State *L) case REG_LINK: case REG_EXPAND_SZ: { - ptrA str(Utf8EncodeW((wchar_t*)value)); + ptrA str(mir_utf8encodeW((wchar_t*)value)); lua_pushlstring(L, str, mir_strlen(str)); } break; -- cgit v1.2.3