summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern
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/Clist_modern
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/Clist_modern')
-rw-r--r--plugins/Clist_modern/modern_toolbar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/modern_toolbar.cpp b/plugins/Clist_modern/modern_toolbar.cpp
index 5f26d88dbf..33776eacd3 100644
--- a/plugins/Clist_modern/modern_toolbar.cpp
+++ b/plugins/Clist_modern/modern_toolbar.cpp
@@ -62,10 +62,10 @@ static int Modern_InitButtons(WPARAM, LPARAM)
for (int i=0; i < SIZEOF(BTNS); i++) {
if (BTNS[i].pszButtonID) {
- tbb.name = BTNS[i].pszButtonID;
+ tbb.name = LPGEN(BTNS[i].pszButtonID);
tbb.pszService = BTNS[i].pszServiceName;
- tbb.pszTooltipUp = BTNS[i].pszTooltipUp;
- tbb.pszTooltipDn = BTNS[i].pszTooltipDn;
+ tbb.pszTooltipUp = LPGEN(BTNS[i].pszTooltipUp);
+ tbb.pszTooltipDn = LPGEN(BTNS[i].pszTooltipDn);
char buf[255];
mir_snprintf(buf,SIZEOF(buf),"%s%s%s", TTB_OPTDIR, BTNS[i].pszButtonID, "_dn");