From be50a70bfd8b3f3daf0c3351fdce6e2fea515bd7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 21 Jan 2014 18:22:58 +0000 Subject: a copy of log style manager removed from tabSRMM git-svn-id: http://svn.miranda-ng.org/main/trunk@7819 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/msglog.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/TabSRMM/src/msglog.cpp') diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp index 68b58bf296..eb1afae46e 100644 --- a/plugins/TabSRMM/src/msglog.cpp +++ b/plugins/TabSRMM/src/msglog.cpp @@ -156,7 +156,6 @@ void TSAPI CacheLogFonts() if (CInfoPanel::m_ipConfig.hFonts[i]) DeleteObject(CInfoPanel::m_ipConfig.hFonts[i]); LoadLogfont(i + 100, &lf, &clr, FONTMODULE); - //lf.lfHeight =-MulDiv(lf.lfHeight, logPixelSY, 72); lf.lfUnderline = 0; CInfoPanel::m_ipConfig.hFonts[i] = CreateFontIndirectA(&lf); CInfoPanel::m_ipConfig.clrs[i] = clr; @@ -164,9 +163,9 @@ void TSAPI CacheLogFonts() hdc = GetDC(PluginConfig.g_hwndHotkeyHandler); - HFONT hOldFont = (HFONT)SelectObject(hdc, CInfoPanel::m_ipConfig.hFonts[IPFONTID_NICK]); - SIZE sz; + HFONT hOldFont = (HFONT)SelectObject(hdc, CInfoPanel::m_ipConfig.hFonts[IPFONTID_NICK]); + SIZE sz; GetTextExtentPoint32(hdc, _T("WMA"), 3, &sz); CInfoPanel::m_ipConfig.height1 = sz.cy; SelectObject(hdc, CInfoPanel::m_ipConfig.hFonts[IPFONTID_UIN]); -- cgit v1.2.3