diff options
author | George Hazan <ghazan@miranda.im> | 2021-01-05 12:31:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-01-05 12:31:28 +0300 |
commit | ef4bb4cd3063b4088a46b48104b43e03a7ef38ea (patch) | |
tree | bf219d8fdb47eaf794ed30bfcbc173b763de85be /plugins/TabSRMM/src | |
parent | 41914c60e56e169410382361353209df3e929090 (diff) |
code cleaning + duplicate code removed
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/chat_options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/chat_options.cpp b/plugins/TabSRMM/src/chat_options.cpp index 6ae63a592d..40e7dee727 100644 --- a/plugins/TabSRMM/src/chat_options.cpp +++ b/plugins/TabSRMM/src/chat_options.cpp @@ -257,7 +257,7 @@ void RegisterFontServiceFonts() fid.deffontsettings.size = (char)lf.lfHeight;
fid.deffontsettings.style = (lf.lfWeight >= FW_BOLD ? FONTF_BOLD : 0) | (lf.lfItalic ? FONTF_ITALIC : 0);
fid.deffontsettings.charset = lf.lfCharSet;
- fid.flags = fid.flags & ~FIDF_CLASSMASK | (fid.deffontsettings.style&FONTF_BOLD ? FIDF_CLASSHEADER : FIDF_CLASSGENERAL);
+ fid.flags = fid.flags & ~FIDF_CLASSMASK | (fid.deffontsettings.style & FONTF_BOLD ? FIDF_CLASSHEADER : FIDF_CLASSGENERAL);
wcsncpy_s(fid.deffontsettings.szFace, lf.lfFaceName, _TRUNCATE);
wcsncpy_s(fid.backgroundGroup, LPGENW("Message sessions") L"/" LPGENW("Single Messaging"), _TRUNCATE);
wcsncpy_s(fid.group, LPGENW("Message sessions") L"/" LPGENW("Single Messaging"), _TRUNCATE);
|