summaryrefslogtreecommitdiff
path: root/plugins/MirLua/Modules/WinAPI/src/winapi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/Modules/WinAPI/src/winapi.cpp')
-rw-r--r--plugins/MirLua/Modules/WinAPI/src/winapi.cpp2
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;