summaryrefslogtreecommitdiff
path: root/plugins/Exchange/src/hooked_events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Exchange/src/hooked_events.cpp')
-rw-r--r--plugins/Exchange/src/hooked_events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Exchange/src/hooked_events.cpp b/plugins/Exchange/src/hooked_events.cpp
index e02896dde0..e3138961d6 100644
--- a/plugins/Exchange/src/hooked_events.cpp
+++ b/plugins/Exchange/src/hooked_events.cpp
@@ -78,7 +78,7 @@ int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
//add the exchange options dialog to miranda
int OnOptionsInitialise(WPARAM wParam, LPARAM)
{
- OPTIONSDIALOGPAGE odp = { sizeof(odp) };
+ OPTIONSDIALOGPAGE odp = { 0 };
odp.position = 100000000;
odp.hInstance = hInstance;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_EXCHANGE);