From 1340b3b8f0e597797b99814c5ed0496cb3429a2a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 19:45:53 +0300 Subject: m_chat.h => CMPlugin --- protocols/MSN/src/msn_chat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/MSN/src') diff --git a/protocols/MSN/src/msn_chat.cpp b/protocols/MSN/src/msn_chat.cpp index 140bb2fdf6..02979b22a0 100644 --- a/protocols/MSN/src/msn_chat.cpp +++ b/protocols/MSN/src/msn_chat.cpp @@ -558,7 +558,7 @@ int CMsnProto::MSN_GCMenuHook(WPARAM, LPARAM lParam) { LPGENW("&Invite user..."), 10, MENU_ITEM, FALSE }, { LPGENW("&Leave chat session"), 20, MENU_ITEM, FALSE } }; - Chat_AddMenuItems(gcmi->hMenu, _countof(Items), Items); + Chat_AddMenuItems(gcmi->hMenu, _countof(Items), Items, g_plugin.m_hLang); } else if (gcmi->Type == MENU_ON_NICKLIST) { char *email = mir_u2a(gcmi->pszUID); @@ -570,7 +570,7 @@ int CMsnProto::MSN_GCMenuHook(WPARAM, LPARAM lParam) { L"", 100, MENU_SEPARATOR, FALSE }, { LPGENW("&Leave chat session"), 110, MENU_ITEM, FALSE } }; - Chat_AddMenuItems(gcmi->hMenu, _countof(Items), Items); + Chat_AddMenuItems(gcmi->hMenu, _countof(Items), Items, g_plugin.m_hLang); } else { static struct gc_item Items[] = @@ -590,7 +590,7 @@ int CMsnProto::MSN_GCMenuHook(WPARAM, LPARAM lParam) if (pszRole && !mir_wstrcmpi(pszRole, L"admin")) Items[3].pszDesc = LPGENW("&Deop user"); } - Chat_AddMenuItems(gcmi->hMenu, _countof(Items), Items); + Chat_AddMenuItems(gcmi->hMenu, _countof(Items), Items, g_plugin.m_hLang); } mir_free(email); } -- cgit v1.2.3