summaryrefslogtreecommitdiff
path: root/plugins/Variables/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Variables/src/options.cpp')
-rw-r--r--plugins/Variables/src/options.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Variables/src/options.cpp b/plugins/Variables/src/options.cpp
index 047ec195e9..cca948aa3c 100644
--- a/plugins/Variables/src/options.cpp
+++ b/plugins/Variables/src/options.cpp
@@ -129,8 +129,7 @@ static INT_PTR CALLBACK SetOptsDlgProc(HWND hwndDlg,UINT msg,WPARAM wParam,LPARA
int OptionsInit(WPARAM wParam, LPARAM lParam)
{
- OPTIONSDIALOGPAGE odp = {0};
- odp.cbSize = sizeof(odp);
+ OPTIONSDIALOGPAGE odp = { sizeof(odp) };
odp.position = 150000000;
odp.pszGroup = LPGEN("Services");
odp.groupPosition = 910000000;
@@ -140,6 +139,5 @@ int OptionsInit(WPARAM wParam, LPARAM lParam)
odp.pfnDlgProc = SetOptsDlgProc;
odp.flags = ODPF_BOLDGROUPS;
Options_AddPage(wParam, &odp);
-
return 0;
}