summaryrefslogtreecommitdiff
path: root/plugins/QuickMessages/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 14:39:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 14:39:54 +0300
commit295ca5e99da922699f1bae398f0411f0c99df5f6 (patch)
tree7505f6707af6d9c6d75b037a6df35e8f1b61cb25 /plugins/QuickMessages/src
parente32d1f001fd799cf3c21b663ce954cdf3d7109b4 (diff)
Srmm_AddButton unbound from hLangpack
Diffstat (limited to 'plugins/QuickMessages/src')
-rw-r--r--plugins/QuickMessages/src/Utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/QuickMessages/src/Utils.cpp b/plugins/QuickMessages/src/Utils.cpp
index 626df47e54..148dae525a 100644
--- a/plugins/QuickMessages/src/Utils.cpp
+++ b/plugins/QuickMessages/src/Utils.cpp
@@ -254,7 +254,7 @@ DWORD BalanceButtons(int buttonsWas, int buttonsNow)
bb.dwButtonID = buttonsWas++;
bb.dwDefPos = 300 + buttonsWas;
bb.hIcon = AddIcon(iconname);
- Srmm_AddButton(&bb);
+ Srmm_AddButton(&bb, g_plugin.m_hLang);
}
return buttonsNow;
@@ -376,7 +376,7 @@ int RegisterCustomButton(WPARAM, LPARAM)
bbd.hIcon = AddIcon(iconname);
bbd.pszModuleName = MODULENAME;
bbd.pwszTooltip = ld->ptszButtonName;
- Srmm_AddButton(&bbd);
+ Srmm_AddButton(&bbd, g_plugin.m_hLang);
}
return 0;
}