summaryrefslogtreecommitdiff
path: root/src/modules/extraicons/options_ei.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extraicons/options_ei.cpp')
-rw-r--r--src/modules/extraicons/options_ei.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/extraicons/options_ei.cpp b/src/modules/extraicons/options_ei.cpp
index 81d5a3f7bf..38ce9bb2b3 100644
--- a/src/modules/extraicons/options_ei.cpp
+++ b/src/modules/extraicons/options_ei.cpp
@@ -742,8 +742,7 @@ int InitOptionsCallback(WPARAM wParam, LPARAM lParam)
if (GetNumberOfSlots() < 1)
return 0;
- OPTIONSDIALOGPAGE odp = { 0 };
- odp.cbSize = sizeof(odp);
+ OPTIONSDIALOGPAGE odp = { sizeof(odp) };
odp.hInstance = hInst;
odp.pszGroup = LPGEN("Contact List");
odp.pszTitle = LPGEN("Extra icons");
@@ -752,6 +751,5 @@ int InitOptionsCallback(WPARAM wParam, LPARAM lParam)
odp.pszTemplate = MAKEINTRESOURCEA(IDD_EI_OPTIONS);
odp.flags = ODPF_BOLDGROUPS;
Options_AddPage(wParam, &odp);
-
return 0;
}