From cf9de21af3073e29cb7b149fbd8427241de70729 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 28 Oct 2016 16:18:50 +0300 Subject: - old useless helpers removed from the Options module; - mir_app functions introduced instead of them; - OPENOPTIONSDIALOG structure removed from m_options.h --- plugins/StopSpamPlus/src/events.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/StopSpamPlus') diff --git a/plugins/StopSpamPlus/src/events.cpp b/plugins/StopSpamPlus/src/events.cpp index d7965d04db..e8646548cb 100644 --- a/plugins/StopSpamPlus/src/events.cpp +++ b/plugins/StopSpamPlus/src/events.cpp @@ -167,22 +167,22 @@ MIRANDA_HOOK_EVENT(ME_OPT_INITIALISE, w, l) UNREFERENCED_PARAMETER(l); OPTIONSDIALOGPAGE odp = { 0 }; - odp.pszGroup = LPGEN("Message sessions"); - odp.pszTitle = pluginName; + odp.szGroup.a = LPGEN("Message sessions"); + odp.szTitle.a = pluginName; odp.position = -1; odp.hInstance = hInst; - odp.pszTab = LPGEN("General"); + odp.szTab.a = LPGEN("General"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_MAIN); odp.pfnDlgProc = MainDlgProc; Options_AddPage(w, &odp); - odp.pszTab = LPGEN("Messages"); + odp.szTab.a = LPGEN("Messages"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_MESSAGES); odp.pfnDlgProc = MessagesDlgProc; Options_AddPage(w, &odp); - odp.pszTab = LPGEN("Accounts"); + odp.szTab.a = LPGEN("Accounts"); odp.pszTemplate = MAKEINTRESOURCEA(IDD_PROTO); odp.pfnDlgProc = ProtoDlgProc; Options_AddPage(w, &odp); -- cgit v1.2.3