summaryrefslogtreecommitdiff
path: root/protocols/YAMN/services.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-07-12 13:59:14 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-07-12 13:59:14 +0000
commitd0eddcf25a3f69b2b9ad67273699d1e5204b3b63 (patch)
tree1ed444e7419e000a638372bcd746bff0f8ae71d3 /protocols/YAMN/services.cpp
parente0b1fbf35cc17f73de8049cb72494c95669a9195 (diff)
minor toptoolbar fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@926 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/YAMN/services.cpp')
-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);
}
}