summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/FloatingContacts/src/main.cpp8
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;
}
}