summaryrefslogtreecommitdiff
path: root/plugins/MenuItemEx/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MenuItemEx/options.c')
-rw-r--r--plugins/MenuItemEx/options.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/plugins/MenuItemEx/options.c b/plugins/MenuItemEx/options.c
index 70626f64d6..0aa0bbb68b 100644
--- a/plugins/MenuItemEx/options.c
+++ b/plugins/MenuItemEx/options.c
@@ -122,16 +122,15 @@ INT_PTR CALLBACK OptionsProc(HWND hdlg,UINT msg,WPARAM wparam,LPARAM lparam)
int OptionsInit(WPARAM wparam,LPARAM lparam)
{
OPTIONSDIALOGPAGE odp={0};
+ odp.cbSize = sizeof(odp);
+ odp.position = 955000000;
+ odp.hInstance = hinstance;
+ odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS);
+ odp.pszTitle = MODULENAME;
+ odp.pfnDlgProc = OptionsProc;
+ odp.pszGroup = LPGEN("Customize");
+ odp.flags = ODPF_BOLDGROUPS;
+ Options_AddPage(wparam,&odp);
- odp.cbSize=sizeof(odp);
- odp.position=955000000;
- odp.hInstance=hinstance;
- odp.pszTemplate=MAKEINTRESOURCEA(IDD_OPTIONS);
- odp.ptszTitle= _T(MODULENAME);
- odp.pfnDlgProc=OptionsProc;
- odp.ptszGroup=_T("Customize");
- odp.flags=ODPF_BOLDGROUPS | ODPF_TCHAR;
-
- Options_AddPage(wparam,&odp);
return 0;
}