summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-07-12 13:56:54 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-07-12 13:56:54 +0000
commite0b1fbf35cc17f73de8049cb72494c95669a9195 (patch)
tree994c4eae8122058f0f10bce4a4bffc98a24e8259 /plugins/BasicHistory
parentb17df7fca9fc9eb65037e2586dea15155ace1273 (diff)
minor toptoolbar fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@925 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BasicHistory')
-rw-r--r--plugins/BasicHistory/src/BasicHistory.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/BasicHistory/src/BasicHistory.cpp b/plugins/BasicHistory/src/BasicHistory.cpp
index 0499410ea5..38bea5701d 100644
--- a/plugins/BasicHistory/src/BasicHistory.cpp
+++ b/plugins/BasicHistory/src/BasicHistory.cpp
@@ -106,9 +106,8 @@ int ToolbarModuleLoaded(WPARAM wParam,LPARAM lParam)
if(ServiceExists(MS_TTB_REMOVEBUTTON)) {
TTBButton tbb = {0};
tbb.cbSize = sizeof(tbb);
- tbb.name = LPGEN("Open History");
tbb.pszService = MS_HISTORY_SHOWCONTACTHISTORY;
- tbb.pszTooltipUp = LPGEN("Open History");
+ tbb.name = tbb.pszTooltipUp = LPGEN("Open History");
tbb.dwFlags = TTBBF_SHOWTOOLTIP;
tbb.hIconHandleUp = LoadSkinnedIconHandle(SKINICON_OTHER_HISTORY);
hToolbarButton = TopToolbar_AddButton(&tbb);