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/ClientChangeNotify/src/OptDlg.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/ClientChangeNotify') diff --git a/plugins/ClientChangeNotify/src/OptDlg.cpp b/plugins/ClientChangeNotify/src/OptDlg.cpp index ffc13577d3..80e1f117e0 100644 --- a/plugins/ClientChangeNotify/src/OptDlg.cpp +++ b/plugins/ClientChangeNotify/src/OptDlg.cpp @@ -163,12 +163,12 @@ int OptionsDlgInit(WPARAM wParam, LPARAM) if (bPopupExists) { OPTIONSDIALOGPAGE optDi = { sizeof(optDi) }; optDi.position = 920000000; - optDi.pwszTitle = LPGENW("ClientChangeNotify"); + optDi.szGroup.a = LPGEN("Popups"); + optDi.szTitle.a = LPGEN("ClientChangeNotify"); optDi.pfnDlgProc = PopupOptDlg; optDi.pszTemplate = MAKEINTRESOURCEA(IDD_POPUPOPTDLG); optDi.hInstance = g_hInstance; - optDi.pwszGroup = LPGENW("Popups"); - optDi.flags = ODPF_BOLDGROUPS | ODPF_UNICODE; + optDi.flags = ODPF_BOLDGROUPS; Options_AddPage(wParam, &optDi); } return 0; -- cgit v1.2.3