diff options
| author | George Hazan <george.hazan@gmail.com> | 2014-01-19 14:02:37 +0000 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2014-01-19 14:02:37 +0000 |
| commit | 1541d27e5a23f2fa680d129603a73420483c7689 (patch) | |
| tree | b6bfd1df9d175d4f8675c9548fb9b898469266f0 /src/modules/chat/manager.cpp | |
| parent | 9e28cb9292146942a0eccc0712ee80fb83f5b2d7 (diff) | |
fix for dynamic fonts registering
git-svn-id: http://svn.miranda-ng.org/main/trunk@7758 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/chat/manager.cpp')
| -rw-r--r-- | src/modules/chat/manager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/chat/manager.cpp b/src/modules/chat/manager.cpp index d12f27036b..a840f1a248 100644 --- a/src/modules/chat/manager.cpp +++ b/src/modules/chat/manager.cpp @@ -1337,7 +1337,7 @@ static BOOL LM_RemoveAll(LOGINFO** ppLogListStart, LOGINFO** ppLogListEnd) return TRUE;
}
-INT_PTR SvcGetChatManager(WPARAM, LPARAM lParam)
+INT_PTR SvcGetChatManager(WPARAM wParam, LPARAM lParam)
{
// wipe out old junk
memset(PBYTE(&ci) + offsetof(CHAT_MANAGER, OnCreateModule), 0, sizeof(CHAT_MANAGER)-offsetof(CHAT_MANAGER, OnCreateModule));
@@ -1379,6 +1379,8 @@ INT_PTR SvcGetChatManager(WPARAM, LPARAM lParam) g_szFontGroup = pInit->szFontGroup;
g_cbSession = pInit->cbSession;
g_cbModuleInfo = pInit->cbModuleInfo;
+ g_iFontMode = pInit->iFontMode;
+ g_iChatLang = (int)wParam;
ci.SetActiveSession = SetActiveSession;
ci.SetActiveSessionEx = SetActiveSessionEx;
|
