summaryrefslogtreecommitdiff
path: root/plugins/MyDetails/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MyDetails/src/options.cpp')
-rw-r--r--plugins/MyDetails/src/options.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/MyDetails/src/options.cpp b/plugins/MyDetails/src/options.cpp
index fad38ed23c..a92e9a6a1d 100644
--- a/plugins/MyDetails/src/options.cpp
+++ b/plugins/MyDetails/src/options.cpp
@@ -137,8 +137,7 @@ static INT_PTR CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
int InitOptionsCallback(WPARAM wParam,LPARAM lParam)
{
- OPTIONSDIALOGPAGE odp = { 0 };
- odp.cbSize = sizeof(odp);
+ OPTIONSDIALOGPAGE odp = { sizeof(odp) };
odp.position = -200000000;
odp.hInstance = hInst;
odp.pfnDlgProc = DlgProcOpts;