summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/YAMN/services.cpp5
1 files changed, 2 insertions, 3 deletions
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);
}
}