summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/src
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/NewAwaySysMod/src
parent7cd632b27e8bbae2005518606666547144c100dc (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14428 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewAwaySysMod/src')
-rw-r--r--plugins/NewAwaySysMod/src/AwaySys.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewAwaySysMod/src/AwaySys.cpp b/plugins/NewAwaySysMod/src/AwaySys.cpp
index 7c22280e2d..3f0326764e 100644
--- a/plugins/NewAwaySysMod/src/AwaySys.cpp
+++ b/plugins/NewAwaySysMod/src/AwaySys.cpp
@@ -412,7 +412,7 @@ static int Create_TopToolbar(WPARAM, LPARAM)
{
int SendOnEvent = CContactSettings(g_ProtoStates[(char*)NULL].Status).Autoreply;
if (ServiceExists(MS_TTB_REMOVEBUTTON)) {
- TTBButton ttbb = { sizeof(ttbb) };
+ TTBButton ttbb = { 0 };
ttbb.name = LPGEN("Toggle autoreply on/off");;
ttbb.hIconHandleUp = iconList[0].hIcolib;
ttbb.hIconHandleDn = iconList[1].hIcolib;