summaryrefslogtreecommitdiff
path: root/plugins/AutoShutdown
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-28 15:20:06 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-28 15:20:06 +0000
commitdcc561ccf83c7468bf512ab94db0c34bfdb49dfc (patch)
treeb71f88f9be3198372f8e8cf11fa6c4093367a8dc /plugins/AutoShutdown
parent7cd632b27e8bbae2005518606666547144c100dc (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14428 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AutoShutdown')
-rw-r--r--plugins/AutoShutdown/src/settingsdlg.cpp2
1 files changed, 1 insertions, 1 deletions
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";