summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-07-24 20:58:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-24 20:58:58 +0300
commited4897b7ef69e862806a8c07f1fd475262d0c36e (patch)
tree414efc6365f455122956eac74b754505c8efaf15 /plugins/MirLua/src
parent99893bf3aec9f4e9f0c4844c0987d129e1778c7e (diff)
massive warning fix
Diffstat (limited to 'plugins/MirLua/src')
-rw-r--r--plugins/MirLua/src/script_loader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/script_loader.cpp b/plugins/MirLua/src/script_loader.cpp
index 32ff9346f8..f480c261e1 100644
--- a/plugins/MirLua/src/script_loader.cpp
+++ b/plugins/MirLua/src/script_loader.cpp
@@ -17,12 +17,12 @@ void CMLuaScriptLoader::SetPaths()
FoldersGetCustomPathW(g_hCLibsFolder, path, _countof(path), VARSW(MIRLUA_PATHT));
pathA = mir_utf8encodeW(path);
- lua_pushfstring(L, "%s\\?.%s", pathA, _T2A(LUACLIBSCRIPTEXT));
+ lua_pushfstring(L, "%s\\?.%s", pathA.get(), _T2A(LUACLIBSCRIPTEXT).get());
lua_setfield(L, -2, "cpath");
FoldersGetCustomPathW(g_hScriptsFolder, path, _countof(path), VARSW(MIRLUA_PATHT));
pathA = mir_utf8encodeW(path);
- lua_pushfstring(L, "%s\\?.%s;%s\\?.%s", pathA, _T2A(LUATEXTSCRIPTEXT), pathA, _T2A(LUAPRECSCRIPTEXT));
+ lua_pushfstring(L, "%s\\?.%s;%s\\?.%s", pathA.get(), _T2A(LUATEXTSCRIPTEXT).get(), pathA.get(), _T2A(LUAPRECSCRIPTEXT).get());
lua_setfield(L, -2, "path");
lua_pop(L, 1);