diff options
Diffstat (limited to 'plugins/MirLua/src/mlua_script_loader.cpp')
-rw-r--r-- | plugins/MirLua/src/mlua_script_loader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/mlua_script_loader.cpp b/plugins/MirLua/src/mlua_script_loader.cpp index 758422b9f4..9f9386a95e 100644 --- a/plugins/MirLua/src/mlua_script_loader.cpp +++ b/plugins/MirLua/src/mlua_script_loader.cpp @@ -8,7 +8,7 @@ void CMLuaScriptLoader::LoadScript(const wchar_t *scriptDir, const wchar_t *file {
wchar_t fullPath[MAX_PATH], path[MAX_PATH];
mir_snwprintf(fullPath, L"%s\\%s", scriptDir, file);
- PathToRelativeT(fullPath, path);
+ PathToRelativeW(fullPath, path);
CMLuaScript *script = new CMLuaScript(L, path);
g_mLua->Scripts.insert(script);
|