summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-06-22 08:28:15 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-06-22 08:28:15 +0000
commit296c88217ab4b2872d8fdada5e8c309dcb50bf24 (patch)
tree407f1b0e718592e0991edb491178b79e531e1c86
parent4c403d149ee3f413af5e5f7ca77b9dbd5922281a (diff)
MirLua: fixed script loading
git-svn-id: http://svn.miranda-ng.org/main/trunk@17015 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-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;