From 296c88217ab4b2872d8fdada5e8c309dcb50bf24 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Wed, 22 Jun 2016 08:28:15 +0000 Subject: MirLua: fixed script loading git-svn-id: http://svn.miranda-ng.org/main/trunk@17015 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/mlua_script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3