summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
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;