summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 19:50:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 19:50:35 +0300
commit09121bfc0da22a40142e70a276a47fb639390cc4 (patch)
treea369bb066a979e0e9e573064c7f743a5a429b7b5 /src
parent1340b3b8f0e597797b99814c5ed0496cb3429a2a (diff)
m_chat_int.h => CMPlugin
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/chat_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/chat_manager.cpp b/src/mir_app/src/chat_manager.cpp
index 783b7539dd..36a871e7ff 100644
--- a/src/mir_app/src/chat_manager.cpp
+++ b/src/mir_app/src/chat_manager.cpp
@@ -971,7 +971,7 @@ static BOOL LM_RemoveAll(LOGINFO **ppLogListStart, LOGINFO **ppLogListEnd)
return TRUE;
}
-MIR_APP_DLL(CHAT_MANAGER*) Chat_GetInterface(CHAT_MANAGER_INITDATA *pInit, int _hLangpack)
+MIR_APP_DLL(CHAT_MANAGER*) Chat_GetInterface(CHAT_MANAGER_INITDATA *pInit)
{
if (pInit == nullptr)
return &chatApi;
@@ -1009,7 +1009,7 @@ MIR_APP_DLL(CHAT_MANAGER*) Chat_GetInterface(CHAT_MANAGER_INITDATA *pInit, int _
g_cbSession = pInit->cbSession;
g_cbModuleInfo = pInit->cbModuleInfo;
g_iFontMode = pInit->iFontMode;
- g_iChatLang = _hLangpack;
+ g_iChatLang = pInit->iLangId;
chatApi.SetActiveSession = SetActiveSession;
chatApi.GetActiveSession = GetActiveSession;