summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/generic_msghandlers.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-14 15:55:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-14 15:55:26 +0300
commit58934a360e8ff68bc81d3fd7e17026f7bbb329f0 (patch)
tree72e45792ff17076f71d1a4dd540ae29a4e4ac262 /plugins/TabSRMM/src/generic_msghandlers.cpp
parentabf4069c2e3473da8f1d468e46c19951935a912f (diff)
some fixes to make Coverity happier
Diffstat (limited to 'plugins/TabSRMM/src/generic_msghandlers.cpp')
-rw-r--r--plugins/TabSRMM/src/generic_msghandlers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp
index 19571031e5..0c90ee7a48 100644
--- a/plugins/TabSRMM/src/generic_msghandlers.cpp
+++ b/plugins/TabSRMM/src/generic_msghandlers.cpp
@@ -553,7 +553,7 @@ void CTabBaseDlg::DM_InitRichEdit()
if (fIsChat) {
LOGFONTA lf;
- LoadLogfont(MSGFONTID_MESSAGEAREA, &lf, &inputcharcolor, FONTMODULE);
+ LoadLogfont(FONTSECTION_IM, MSGFONTID_MESSAGEAREA, &lf, &inputcharcolor, FONTMODULE);
cf2.dwMask = CFM_COLOR | CFM_FACE | CFM_CHARSET | CFM_SIZE | CFM_WEIGHT | CFM_ITALIC | CFM_BACKCOLOR;
cf2.crTextColor = inputcharcolor;