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/TrafficCounter | |
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/TrafficCounter')
-rw-r--r-- | plugins/TrafficCounter/src/options.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/TrafficCounter/src/options.cpp b/plugins/TrafficCounter/src/options.cpp index db0e0c3c28..5e7a0ca158 100644 --- a/plugins/TrafficCounter/src/options.cpp +++ b/plugins/TrafficCounter/src/options.cpp @@ -347,16 +347,16 @@ int TrafficCounterOptInitialise(WPARAM wParam, LPARAM) odp.groupPosition = 1;
odp.hInstance = hInst;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_TRAFFIC);
- odp.pszGroup = LPGEN("Services");
- odp.pszTab = LPGEN("Options");
- odp.pszTitle = LPGEN("Traffic counter");
+ odp.szGroup.a = LPGEN("Services");
+ odp.szTab.a = LPGEN("Options");
+ odp.szTitle.a = LPGEN("Traffic counter");
odp.pfnDlgProc = DlgProcTCOptions;
odp.flags = ODPF_BOLDGROUPS;
Options_AddPage(wParam, &odp);
// Statistics options page
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_STATS);
- odp.pszTab = LPGEN("Statistics");
+ odp.szTab.a = LPGEN("Statistics");
odp.pfnDlgProc = DlgProcOptStatistics;
Options_AddPage(wParam, &odp);
@@ -364,8 +364,8 @@ int TrafficCounterOptInitialise(WPARAM wParam, LPARAM) if (bPopupExists) {
odp.groupPosition = 100;
odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPT_TRAFFIC_POPUPS);
- odp.pszGroup=LPGEN("Popups");
- odp.pszTitle=LPGEN("Traffic counter");
+ odp.szGroup.a=LPGEN("Popups");
+ odp.szTitle.a=LPGEN("Traffic counter");
odp.pfnDlgProc=DlgProcPopupsTraffic;
odp.flags=ODPF_BOLDGROUPS;
Options_AddPage(wParam, &odp);
|