From d0eddcf25a3f69b2b9ad67273699d1e5204b3b63 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 12 Jul 2012 13:59:14 +0000 Subject: minor toptoolbar fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@926 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/YAMN/services.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'protocols') diff --git a/protocols/YAMN/services.cpp b/protocols/YAMN/services.cpp index 4048f7881b..229870fd62 100644 --- a/protocols/YAMN/services.cpp +++ b/protocols/YAMN/services.cpp @@ -309,14 +309,13 @@ int AddTopToolbarIcon(WPARAM,LPARAM) { if ( DBGetContactSettingByte(NULL, YAMN_DBMODULE, YAMN_TTBFCHECK, 1)) { if ( ServiceExists(MS_TTB_REMOVEBUTTON) && hTTButton == NULL) { - TTBButton btn = { 0 }; + TTBButton btn = {0}; btn.cbSize = sizeof(btn); btn.pszService = MS_YAMN_FORCECHECK; btn.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP; - btn.name = "Check mail"; btn.hIconHandleUp = g_GetIconHandle(5); btn.hIconHandleDn = g_GetIconHandle(6); - btn.pszTooltipUp = LPGEN("Check mail"); + btn.name = btn.pszTooltipUp = LPGEN("Check mail"); hTTButton = TopToolbar_AddButton(&btn); } } -- cgit v1.2.3