From a697754351436b6d0066b77b0fd71aeb8c45be3d Mon Sep 17 00:00:00 2001
From: George Hazan <george.hazan@gmail.com>
Date: Wed, 15 Apr 2015 15:47:29 +0000
Subject: after commit #12797 field OPTIONSDIALOGPAGE::cbSize became an
 atavism, and therefore removed

git-svn-id: http://svn.miranda-ng.org/main/trunk@12840 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 plugins/StartupSilence/src/main.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'plugins/StartupSilence')

diff --git a/plugins/StartupSilence/src/main.cpp b/plugins/StartupSilence/src/main.cpp
index 23809db898..155ff045ea 100644
--- a/plugins/StartupSilence/src/main.cpp
+++ b/plugins/StartupSilence/src/main.cpp
@@ -351,8 +351,7 @@ HANDLE GetIconHandle(char *szIcon)
 
 int InitializeOptions(WPARAM wParam,LPARAM lParam)
 {
-	OPTIONSDIALOGPAGE odp = {sizeof(odp)};
-	odp.position = 0;
+	OPTIONSDIALOGPAGE odp = { 0 };
 	odp.hInstance = hInst;
 	odp.pszTemplate = MAKEINTRESOURCEA(IDD_SSOPT);
 	odp.pszGroup = LPGEN("Events");//FIXME: move to...Group?
-- 
cgit v1.2.3