summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/main.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-01-02 14:34:22 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-01-02 14:34:22 +0000
commit90cac394f9e49fb2ccc5e588dd78e093e0510c4e (patch)
treeacf914658e21f60982dd6a337dec0fa4c3d4d85a /plugins/MirLua/src/main.cpp
parent7e52ce761a2b20c48da31b84a4f54fa7f00a3ee7 (diff)
MirLua: added setting c libs path via folders plugin
git-svn-id: http://svn.miranda-ng.org/main/trunk@15992 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/main.cpp')
-rw-r--r--plugins/MirLua/src/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/MirLua/src/main.cpp b/plugins/MirLua/src/main.cpp
index fabad6a287..4652610222 100644
--- a/plugins/MirLua/src/main.cpp
+++ b/plugins/MirLua/src/main.cpp
@@ -7,7 +7,8 @@ HINSTANCE g_hInstance;
CMLua *g_mLua;
-HANDLE g_hCommonScriptFolder;
+HANDLE g_hCLibsFolder;
+HANDLE g_hScriptsFolder;
HANDLE hNetlib = NULL;
@@ -41,7 +42,8 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
int OnModulesLoaded(WPARAM, LPARAM)
{
- g_hCommonScriptFolder = FoldersRegisterCustomPathT(MODULE, Translate("Common scripts folder"), COMMON_SCRIPTS_PATHT);
+ g_hCLibsFolder = FoldersRegisterCustomPathT(MODULE, Translate("C libs folder"), MIRLUA_CPATHT);
+ g_hScriptsFolder = FoldersRegisterCustomPathT(MODULE, Translate("Scripts folder"), MIRLUA_PATHT);
HookEvent(ME_OPT_INITIALISE, CLuaOptions::OnOptionsInit);