diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-19 14:19:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-19 14:19:26 +0000 |
commit | e89159151599a72d4423f0de47e1a413873e4d49 (patch) | |
tree | dc5aba0af97925c7554fb7244bb204e0413e20f8 /plugins/Scriver | |
parent | 4e43b275b82619ed0e2d0295dbd2b9e5efbb15ab (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/Scriver')
-rw-r--r-- | plugins/Scriver/src/chat/main.cpp | 5 |
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);
}
|