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 /plugins/Clist_modern/src/modern_clistopts.cpp | |
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 'plugins/Clist_modern/src/modern_clistopts.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_clistopts.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/src/modern_clistopts.cpp b/plugins/Clist_modern/src/modern_clistopts.cpp index 2039a0deb4..41cf048c9c 100644 --- a/plugins/Clist_modern/src/modern_clistopts.cpp +++ b/plugins/Clist_modern/src/modern_clistopts.cpp @@ -933,13 +933,13 @@ int CListOptInit(WPARAM wParam, LPARAM) odp.position = -200000000;
odp.hInstance = g_hInst;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_ITEMS);
- odp.pszGroup = LPGEN("Contact list");
- odp.pszTitle = LPGEN("Row items");
+ odp.szGroup.a = LPGEN("Contact list");
+ odp.szTitle.a = LPGEN("Row items");
odp.flags = ODPF_BOLDGROUPS;
for (int i = 0; i < _countof(row_opt_items); i++) {
odp.pszTemplate = MAKEINTRESOURCEA(row_opt_items[i].id);
- odp.pszTab = row_opt_items[i].name;
+ odp.szTab.a = row_opt_items[i].name;
odp.pfnDlgProc = row_opt_items[i].wnd_proc;
Options_AddPage(wParam, &odp);
}
|