From e89159151599a72d4423f0de47e1a413873e4d49 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 19 Mar 2014 14:19:26 +0000 Subject: 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 --- plugins/Scriver/src/chat/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/Scriver') 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); } -- cgit v1.2.3