diff options
author | George Hazan <ghazan@miranda.im> | 2016-10-30 13:25:53 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-10-30 13:25:53 +0300 |
commit | 587803cebb8994fde831a26c8b6f126ff42caeb1 (patch) | |
tree | 28bbeee3e19a47b43c4c5ad42c58d87aa64723cd /plugins/TrafficCounter/src | |
parent | 94524e847e046148a4f2cb7d333e3d57a250b6be (diff) |
OPTIONSDIALOGPAGE::groupPosition - unused field removed
Diffstat (limited to 'plugins/TrafficCounter/src')
-rw-r--r-- | plugins/TrafficCounter/src/options.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/plugins/TrafficCounter/src/options.cpp b/plugins/TrafficCounter/src/options.cpp index 5e7a0ca158..c65d82e203 100644 --- a/plugins/TrafficCounter/src/options.cpp +++ b/plugins/TrafficCounter/src/options.cpp @@ -344,7 +344,6 @@ int TrafficCounterOptInitialise(WPARAM wParam, LPARAM) // Main options page
OPTIONSDIALOGPAGE odp = { 0 };
odp.position = 900000000;
- odp.groupPosition = 1;
odp.hInstance = hInst;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_TRAFFIC);
odp.szGroup.a = LPGEN("Services");
@@ -359,15 +358,14 @@ int TrafficCounterOptInitialise(WPARAM wParam, LPARAM) odp.szTab.a = LPGEN("Statistics");
odp.pfnDlgProc = DlgProcOptStatistics;
Options_AddPage(wParam, &odp);
-
+
// Popups option page
if (bPopupExists) {
- odp.groupPosition = 100;
- odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPT_TRAFFIC_POPUPS);
- odp.szGroup.a=LPGEN("Popups");
- odp.szTitle.a=LPGEN("Traffic counter");
- odp.pfnDlgProc=DlgProcPopupsTraffic;
- odp.flags=ODPF_BOLDGROUPS;
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_TRAFFIC_POPUPS);
+ odp.szGroup.a = LPGEN("Popups");
+ odp.szTitle.a = LPGEN("Traffic counter");
+ odp.pfnDlgProc = DlgProcPopupsTraffic;
+ odp.flags = ODPF_BOLDGROUPS;
Options_AddPage(wParam, &odp);
}
return 0;
|