diff options
author | George Hazan <ghazan@miranda.im> | 2016-10-28 16:18:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-10-28 16:18:50 +0300 |
commit | cf9de21af3073e29cb7b149fbd8427241de70729 (patch) | |
tree | 2a0b17f49d14d4a51bc942f15bf3747509f0c3cf /src/core/stdchat | |
parent | 3de431cc811a1fbf9cd0d520fe33b6163c73e919 (diff) |
- old useless helpers removed from the Options module;
- mir_app functions introduced instead of them;
- OPENOPTIONSDIALOG structure removed from m_options.h
Diffstat (limited to 'src/core/stdchat')
-rw-r--r-- | src/core/stdchat/src/options.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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);
}
|