summaryrefslogtreecommitdiff
path: root/src/mir_app
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 /src/mir_app
parente32d1f001fd799cf3c21b663ce954cdf3d7109b4 (diff)
Srmm_AddButton unbound from hLangpack
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/srmm_toolbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/srmm_toolbar.cpp b/src/mir_app/src/srmm_toolbar.cpp
index 9e5696d9b6..4b3ddc1aae 100644
--- a/src/mir_app/src/srmm_toolbar.cpp
+++ b/src/mir_app/src/srmm_toolbar.cpp
@@ -65,7 +65,7 @@ static void CB_RegisterSeparators()
bbd.bbbFlags = BBBF_ISSEPARATOR | BBBF_ISIMBUTTON;
bbd.dwButtonID = i + 1;
bbd.dwDefPos = 410 + i;
- Srmm_AddButton(&bbd);
+ Srmm_AddButton(&bbd, g_plugin.m_hLang);
}
}
@@ -685,7 +685,7 @@ public:
bbd.bbbFlags = BBBF_ISSEPARATOR | BBBF_ISIMBUTTON;
bbd.dwButtonID = ++dwSepCount;
- CustomButtonData *cbd = (CustomButtonData*)Srmm_AddButton(&bbd);
+ CustomButtonData *cbd = (CustomButtonData*)Srmm_AddButton(&bbd, g_plugin.m_hLang);
TVINSERTSTRUCT tvis;
tvis.hParent = nullptr;