summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-19 14:19:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-19 14:19:26 +0000
commite89159151599a72d4423f0de47e1a413873e4d49 (patch)
treedc5aba0af97925c7554fb7244bb204e0413e20f8 /plugins
parent4e43b275b82619ed0e2d0295dbd2b9e5efbb15ab (diff)
scriver to grab chat's input area font from the similar setting for the single messages
git-svn-id: http://svn.miranda-ng.org/main/trunk@8661 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Scriver/src/chat/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Scriver/src/chat/main.cpp b/plugins/Scriver/src/chat/main.cpp
index 8274ed3720..c164c00b48 100644
--- a/plugins/Scriver/src/chat/main.cpp
+++ b/plugins/Scriver/src/chat/main.cpp
@@ -149,10 +149,11 @@ static BOOL DoPopup(SESSION_INFO *si, GCEVENT *gce)
static void OnLoadSettings()
{
- LOGFONT lf;
if (g_Settings.MessageBoxFont)
DeleteObject(g_Settings.MessageBoxFont);
- pci->LoadMsgDlgFont(17, &lf, NULL);
+
+ LOGFONT lf;
+ LoadMsgDlgFont(MSGFONTID_MESSAGEAREA, &lf, NULL);
g_Settings.MessageBoxFont = CreateFontIndirect(&lf);
}