diff options
author | George Hazan <george.hazan@gmail.com> | 2015-02-23 21:33:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-02-23 21:33:41 +0000 |
commit | 31c0cd280ab2f55b1f5e78b017fc08da9e1e61e7 (patch) | |
tree | d619b127cf31fb57829b331ae7513c8f2e215a67 /plugins/FloatingContacts | |
parent | ae599b695aa065f0a47b7eec1059ce1eef125ef4 (diff) |
various font related code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@12258 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FloatingContacts')
-rw-r--r-- | plugins/FloatingContacts/src/main.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/FloatingContacts/src/main.cpp b/plugins/FloatingContacts/src/main.cpp index 31399841e7..8a93846941 100644 --- a/plugins/FloatingContacts/src/main.cpp +++ b/plugins/FloatingContacts/src/main.cpp @@ -533,15 +533,7 @@ static void CreateThumbsFont() LOGFONT lf;
FontService_GetFont( LPGENT("Floating contacts"), s_fonts[nFontId], &tColor[nFontId], &lf);
-
- HDC hdc = GetDC(NULL);
- LONG height = lf.lfHeight;
- lf.lfHeight = -MulDiv(lf.lfHeight, GetDeviceCaps(hdc, LOGPIXELSY), 72);
- ReleaseDC(NULL, hdc);
-
hFont[nFontId] = CreateFontIndirect(&lf);
-
- lf.lfHeight = height;
}
}
|