diff options
author | George Hazan <ghazan@miranda.im> | 2018-07-20 13:25:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-07-20 13:25:21 +0300 |
commit | 509fbd91ed545d05cc266a80ec19fe7b9c9d28db (patch) | |
tree | 09c2d97d212c0820f6d5e85d7e583b8a56b26ef8 /plugins/MirLua/Modules | |
parent | c90b4443c10b08eeae9466428255fe8ff7b48d6d (diff) |
we don't need two name sets for the same array of functions
Diffstat (limited to 'plugins/MirLua/Modules')
-rw-r--r-- | plugins/MirLua/Modules/WinAPI/src/winapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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;
|