From dcc561ccf83c7468bf512ab94db0c34bfdb49dfc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 28 Jun 2015 15:20:06 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14428 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AutoShutdown/src/settingsdlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/AutoShutdown/src/settingsdlg.cpp') diff --git a/plugins/AutoShutdown/src/settingsdlg.cpp b/plugins/AutoShutdown/src/settingsdlg.cpp index 4e696ef1dc..927a03c439 100644 --- a/plugins/AutoShutdown/src/settingsdlg.cpp +++ b/plugins/AutoShutdown/src/settingsdlg.cpp @@ -411,7 +411,7 @@ static HANDLE hToolbarButton; int ToolbarLoaded(WPARAM,LPARAM) { - TTBButton ttb = { sizeof(ttb) }; + TTBButton ttb = { 0 }; ttb.hIconHandleUp = iconList[2].hIcolib; ttb.hIconHandleDn = iconList[1].hIcolib; ttb.pszService = "AutoShutdown/MenuCommand"; -- cgit v1.2.3