summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-03-19 08:04:44 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-03-19 08:04:44 +0000
commit558414628226bc5f5f6a9c6e704fb382ff6cf319 (patch)
tree25f0773de2c5229af541811b210b8be6674586a0 /plugins
parent836a963863e27b355c0a4fea0757481e9a1cc27a (diff)
closing ticket #266
git-svn-id: http://svn.miranda-ng.org/main/trunk@4105 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/QuickMessages/src/Utils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/QuickMessages/src/Utils.cpp b/plugins/QuickMessages/src/Utils.cpp
index 0d11c3f742..85a77e9de2 100644
--- a/plugins/QuickMessages/src/Utils.cpp
+++ b/plugins/QuickMessages/src/Utils.cpp
@@ -262,8 +262,8 @@ DWORD BalanceButtons(int buttonsWas, int buttonsNow)
while (buttonsWas < buttonsNow) {
if (ServiceExists(MS_BB_ADDBUTTON)) {
- char iconname[20];
- mir_snprintf(iconname, SIZEOF(iconname), "QMessagesButton_%u", buttonsWas);
+ char iconname[40];
+ mir_snprintf(iconname, SIZEOF(iconname), LPGEN("Quick Messages Button %u"), buttonsWas);
bb.bbbFlags = BBBF_ISIMBUTTON | BBBF_ISCHATBUTTON | BBBF_ISLSIDEBUTTON;
bb.dwButtonID = buttonsWas++;
bb.dwDefPos = 300+buttonsWas;
@@ -381,8 +381,8 @@ int RegisterCustomButton(WPARAM wParam,LPARAM lParam)
for (int i=0; i < g_iButtonsCount; i++) {
ListData* ld = ButtonsList[i];
- char iconname[20];
- mir_snprintf(iconname, SIZEOF(iconname), "QMessagesButton_%u", i);
+ char iconname[40];
+ mir_snprintf(iconname, SIZEOF(iconname), LPGEN("Quick Messages Button %u"), i);
BBButton bbd = { sizeof(bbd) };
bbd.bbbFlags = BBBF_ISIMBUTTON | BBBF_ISCHATBUTTON | BBBF_ISLSIDEBUTTON;