summaryrefslogtreecommitdiff
path: root/src/modules/updatenotify/updatenotify.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/updatenotify/updatenotify.cpp')
-rw-r--r--src/modules/updatenotify/updatenotify.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/modules/updatenotify/updatenotify.cpp b/src/modules/updatenotify/updatenotify.cpp
index 6732fe777b..50129c960a 100644
--- a/src/modules/updatenotify/updatenotify.cpp
+++ b/src/modules/updatenotify/updatenotify.cpp
@@ -133,10 +133,9 @@ void UnloadUpdateNotifyModule()
UnhookEvent(hHookPreShutdown);
}
-static int UpdateNotifyOptInit(WPARAM wParam, LPARAM) {
- OPTIONSDIALOGPAGE odp;
-
- ZeroMemory(&odp, sizeof(odp));
+static int UpdateNotifyOptInit(WPARAM wParam, LPARAM)
+{
+ OPTIONSDIALOGPAGE odp = { 0 };
odp.cbSize = sizeof(odp);
odp.position = 100000000;
odp.hInstance = hMirandaInst;