summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/src/AwaySys.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewAwaySysMod/src/AwaySys.cpp')
-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;