summaryrefslogtreecommitdiff
path: root/plugins/Clist_mw/src/BkgrCfg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_mw/src/BkgrCfg.cpp')
-rw-r--r--plugins/Clist_mw/src/BkgrCfg.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Clist_mw/src/BkgrCfg.cpp b/plugins/Clist_mw/src/BkgrCfg.cpp
index 8287bbc5d0..23fe520f98 100644
--- a/plugins/Clist_mw/src/BkgrCfg.cpp
+++ b/plugins/Clist_mw/src/BkgrCfg.cpp
@@ -273,8 +273,7 @@ static INT_PTR BkgrCfg_Register(WPARAM wParam,LPARAM lParam)
int OnOptionsInit(WPARAM wParam,LPARAM lParam)
{
- OPTIONSDIALOGPAGE odp = { 0 };
- odp.cbSize = sizeof(odp);
+ OPTIONSDIALOGPAGE odp = { sizeof(odp) };
odp.hInstance = g_hInst;
odp.pszGroup = LPGEN("Customize");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_CLCBKG2);
@@ -282,7 +281,6 @@ int OnOptionsInit(WPARAM wParam,LPARAM lParam)
odp.pfnDlgProc = DlgProcBkgOpts;
odp.flags = ODPF_BOLDGROUPS;
Options_AddPage(wParam, &odp);
-
return 0;
}