From e32d1f001fd799cf3c21b663ce954cdf3d7109b4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 14:34:09 +0300 Subject: Srmm_AddIcon unbound from hLangpack --- plugins/MirOTR/src/svcs_srmm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/MirOTR/src') diff --git a/plugins/MirOTR/src/svcs_srmm.cpp b/plugins/MirOTR/src/svcs_srmm.cpp index 66e34d6aaf..025d391f7d 100644 --- a/plugins/MirOTR/src/svcs_srmm.cpp +++ b/plugins/MirOTR/src/svcs_srmm.cpp @@ -121,12 +121,12 @@ void InitSRMM() sid.hIconDisabled = hIconNotSecure; sid.flags = MBF_DISABLED | MBF_HIDDEN; sid.szTooltip = LANG_OTR_TOOLTIP; - Srmm_AddIcon(&sid); + Srmm_AddIcon(&sid, g_plugin.m_hLang); sid.dwId = 1; sid.hIcon = hIconPrivate; sid.hIconDisabled = hIconUnverified; - Srmm_AddIcon(&sid); + Srmm_AddIcon(&sid, g_plugin.m_hLang); // hook the window events so that we can can change the status of the icon HookEvent(ME_MSG_ICONPRESSED, SVC_IconPressed); -- cgit v1.2.3