diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-29 22:51:40 +0200 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-29 22:51:40 +0200 |
commit | 66913f4be6078f89ef87fbbc5dd3497c6dde51c2 (patch) | |
tree | 02f3352c534c3f2e1f4672179f8ba0010c7f652e /src | |
parent | 62b0f4426721dc5aa874085ec8ea9559246001d0 (diff) |
fixes #1270 (separate message area font color for chats & groupchats)
Diffstat (limited to 'src')
-rw-r--r-- | src/core/stdmsg/src/chat_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdmsg/src/chat_manager.cpp b/src/core/stdmsg/src/chat_manager.cpp index 0cee322b92..7fc20d3af8 100644 --- a/src/core/stdmsg/src/chat_manager.cpp +++ b/src/core/stdmsg/src/chat_manager.cpp @@ -137,7 +137,7 @@ static void OnLoadSettings() DeleteObject(g_Settings.MessageAreaFont); LOGFONT lf; - LoadMsgDlgFont(MSGFONTID_MESSAGEAREA, &lf, &g_Settings.MessageAreaColor); + pci->LoadMsgDlgFont(17, &lf, &g_Settings.MessageAreaColor); g_Settings.MessageAreaFont = CreateFontIndirect(&lf); g_Settings.iX = db_get_dw(0, CHAT_MODULE, "roomx", -1); @@ -239,7 +239,7 @@ void Load_ChatModule() AddIcons(); RegisterFonts(); - CHAT_MANAGER_INITDATA data = { &g_Settings, sizeof(MODULEINFO), sizeof(SESSION_INFO), LPGENW("Chat module"), FONTMODE_SKIP }; + CHAT_MANAGER_INITDATA data = { &g_Settings, sizeof(MODULEINFO), sizeof(SESSION_INFO), LPGENW("Chat module"), FONTMODE_USE }; pci = Chat_GetInterface(&data); pci->OnCreateModule = OnCreateModule; |