summaryrefslogtreecommitdiff
path: root/plugins/WhenWasIt/src/hooked_events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WhenWasIt/src/hooked_events.cpp')
-rw-r--r--plugins/WhenWasIt/src/hooked_events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/WhenWasIt/src/hooked_events.cpp b/plugins/WhenWasIt/src/hooked_events.cpp
index 24858892f9..3f078ea11d 100644
--- a/plugins/WhenWasIt/src/hooked_events.cpp
+++ b/plugins/WhenWasIt/src/hooked_events.cpp
@@ -42,7 +42,7 @@ static int OnTopToolBarModuleLoaded(WPARAM, LPARAM)
static int OnOptionsInitialise(WPARAM wParam, LPARAM)
{
- OPTIONSDIALOGPAGE odp = { sizeof(odp) };
+ OPTIONSDIALOGPAGE odp = { 0 };
odp.position = 100000000;
odp.hInstance = hInstance;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_WWI);