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 --- src/core/stdchat/src/options.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/core/stdchat') diff --git a/src/core/stdchat/src/options.cpp b/src/core/stdchat/src/options.cpp index 0635bd0b54..331602ee95 100644 --- a/src/core/stdchat/src/options.cpp +++ b/src/core/stdchat/src/options.cpp @@ -735,25 +735,25 @@ int OptionsInitialize(WPARAM wParam, LPARAM) odp.position = 910000000; odp.hInstance = g_hInst; odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS1); - odp.pszGroup = LPGEN("Message sessions"); - odp.pszTitle = LPGEN("Group chats"); - odp.pszTab = LPGEN("General"); + odp.szGroup.a = LPGEN("Message sessions"); + odp.szTitle.a = LPGEN("Group chats"); + odp.szTab.a = LPGEN("General"); odp.pfnDlgProc = DlgProcOptions1; odp.flags = ODPF_BOLDGROUPS; Options_AddPage(wParam, &odp); odp.position = 910000001; odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS2); - odp.pszTab = LPGEN("Chat log"); + odp.szTab.a = LPGEN("Chat log"); odp.pfnDlgProc = DlgProcOptions2; Options_AddPage(wParam, &odp); if (PopupInstalled) { odp.position = 910000002; odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONSPOPUP); - odp.pszTitle = LPGEN(CHAT_MODULE); - odp.pszGroup = LPGEN("Popups"); - odp.pszTab = NULL; + odp.szTitle.a = LPGEN(CHAT_MODULE); + odp.szGroup.a = LPGEN("Popups"); + odp.szTab.a = NULL; odp.pfnDlgProc = DlgProcOptionsPopup; Options_AddPage(wParam, &odp); } -- cgit v1.2.3