From 295ca5e99da922699f1bae398f0411f0c99df5f6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 14:39:54 +0300 Subject: Srmm_AddButton unbound from hLangpack --- src/mir_app/src/srmm_toolbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mir_app') 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; -- cgit v1.2.3