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/SecureIM/src/svcs_srmm.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/SecureIM') diff --git a/plugins/SecureIM/src/svcs_srmm.cpp b/plugins/SecureIM/src/svcs_srmm.cpp index aa131ad533..4fe6189727 100644 --- a/plugins/SecureIM/src/svcs_srmm.cpp +++ b/plugins/SecureIM/src/svcs_srmm.cpp @@ -40,28 +40,28 @@ void InitSRMMIcons() sid.hIcon = mode2icon(MODE_NATIVE | SECURED, 3); sid.hIconDisabled = mode2icon(MODE_NATIVE, 3); sid.szTooltip = LPGEN("SecureIM [Native]"); - Srmm_AddIcon(&sid); + Srmm_AddIcon(&sid, g_plugin.m_hLang); // PGP sid.dwId = MODE_PGP; sid.hIcon = mode2icon(MODE_PGP | SECURED, 3); sid.hIconDisabled = mode2icon(MODE_PGP, 3); sid.szTooltip = LPGEN("SecureIM [PGP]"); - Srmm_AddIcon(&sid); + Srmm_AddIcon(&sid, g_plugin.m_hLang); // GPG sid.dwId = MODE_GPG; sid.hIcon = mode2icon(MODE_GPG | SECURED, 3); sid.hIconDisabled = mode2icon(MODE_GPG, 3); sid.szTooltip = LPGEN("SecureIM [GPG]"); - Srmm_AddIcon(&sid); + Srmm_AddIcon(&sid, g_plugin.m_hLang); // RSAAES sid.dwId = MODE_RSAAES; sid.hIcon = mode2icon(MODE_RSAAES | SECURED, 3); sid.hIconDisabled = mode2icon(MODE_RSAAES, 3); sid.szTooltip = LPGEN("SecureIM [RSA/AES]"); - 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_WINDOWEVENT, onWindowEvent); -- cgit v1.2.3