summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src')
-rw-r--r--plugins/MirLua/src/mlua_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/mlua_script.cpp b/plugins/MirLua/src/mlua_script.cpp
index 6c92c354d8..d36f93b7a8 100644
--- a/plugins/MirLua/src/mlua_script.cpp
+++ b/plugins/MirLua/src/mlua_script.cpp
@@ -95,7 +95,7 @@ bool CMLuaScript::Load()
{
status = Failed;
- if (luaL_loadfile(L, T2Utf(filePath)))
+ if (luaL_loadfile(L, _T2A(filePath)))
{
Log(lua_tostring(L, -1));
return false;