summaryrefslogtreecommitdiff
path: root/plugins/AutoRun/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AutoRun/src/main.cpp')
-rw-r--r--plugins/AutoRun/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AutoRun/src/main.cpp b/plugins/AutoRun/src/main.cpp
index 91a8394d3d..034ac95dcd 100644
--- a/plugins/AutoRun/src/main.cpp
+++ b/plugins/AutoRun/src/main.cpp
@@ -102,7 +102,7 @@ static INT_PTR CALLBACK DlgProcAutorunOpts(HWND hwndDlg, UINT msg, WPARAM wParam
static int AutorunOptInitialise(WPARAM wParam,LPARAM)
{
- OPTIONSDIALOGPAGE odp = { sizeof(odp) };
+ OPTIONSDIALOGPAGE odp = { 0 };
odp.position = 100100000;
odp.hInstance = hInst;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_AUTORUN);