Removed a small noop codeblock.

Originally committed to SVN as r1207.
This commit is contained in:
Niels Martin Hansen 2007-06-06 20:59:01 +00:00
parent f8715f91ef
commit 31003a3a52

View file

@ -72,10 +72,6 @@ namespace Automation4 {
if (!thedc) return false; if (!thedc) return false;
SetMapMode(thedc, MM_TEXT); SetMapMode(thedc, MM_TEXT);
HDC dczero = GetDC(0);
//fontsize = -MulDiv((int)(fontsize+0.5), GetDeviceCaps(dczero, LOGPIXELSY), 72);
ReleaseDC(0, dczero);
LOGFONTW lf; LOGFONTW lf;
ZeroMemory(&lf, sizeof(lf)); ZeroMemory(&lf, sizeof(lf));
lf.lfHeight = (LONG)fontsize; lf.lfHeight = (LONG)fontsize;