From 0ccdb951979ead80e9264233776b9147ff701fc7 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Wed, 24 Jun 2015 13:08:55 +0000 Subject: MirLua: options and log cosmetics git-svn-id: http://svn.miranda-ng.org/main/trunk@14362 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/main.cpp | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'plugins/MirLua/src/main.cpp') diff --git a/plugins/MirLua/src/main.cpp b/plugins/MirLua/src/main.cpp index 64fc38f641..62ebb97be3 100644 --- a/plugins/MirLua/src/main.cpp +++ b/plugins/MirLua/src/main.cpp @@ -38,22 +38,10 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD) return &pluginInfo; } -int OnOptionsInit(WPARAM wParam, LPARAM) -{ - OPTIONSDIALOGPAGE odp = { 0 }; - odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR | ODPF_DONTTRANSLATE; - odp.ptszGroup = LPGENT("Customize"); - odp.ptszTitle = LPGENT("Scripts"); - odp.ptszTab = _T("Lua"); - odp.pDialog = CLuaOptions::CreateOptionsPage(); - Options_AddPage(wParam, &odp); - - return 0; -} - int OnModulesLoaded(WPARAM, LPARAM) { - HookEvent(ME_OPT_INITIALISE, OnOptionsInit); + HookEvent(ME_OPT_INITIALISE, CLuaOptions::OnOptionsInit); + return 0; } -- cgit v1.2.3