summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_options.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-06-21 18:40:46 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-06-21 18:40:46 +0000
commitb048ea322fac0d6cb59b9f1645fad9d7a898fc57 (patch)
tree77cab073f0cca54369cf47dadb973bf45d640e15 /plugins/MirLua/src/mlua_options.cpp
parent78f36745d03f03d4772e09720eef976cff5a4d9b (diff)
MirLua: Scripts reloading pt.2
git-svn-id: http://svn.miranda-ng.org/main/trunk@14304 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_options.cpp')
-rw-r--r--plugins/MirLua/src/mlua_options.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/plugins/MirLua/src/mlua_options.cpp b/plugins/MirLua/src/mlua_options.cpp
index 8cd86f0f3d..89fe72af98 100644
--- a/plugins/MirLua/src/mlua_options.cpp
+++ b/plugins/MirLua/src/mlua_options.cpp
@@ -22,8 +22,6 @@ void CLuaOptions::LoadScripts(const TCHAR *scriptDir, int iGroup)
TCHAR searchMask[MAX_PATH];
mir_sntprintf(searchMask, _T("%s\\%s"), scriptDir, _T("*.lua"));
- TCHAR fullPath[MAX_PATH], path[MAX_PATH];
-
WIN32_FIND_DATA fd;
HANDLE hFind = FindFirstFile(searchMask, &fd);
if (hFind != INVALID_HANDLE_VALUE)
@@ -105,6 +103,4 @@ INT_PTR CLuaOptions::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam)
void CLuaOptions::OnReload(CCtrlBase*)
{
g_mLua->Reload();
- CLuaLoader loader(g_mLua);
- loader.LoadScripts();
} \ No newline at end of file