Removed a small noop codeblock.
Originally committed to SVN as r1207.
This commit is contained in:
parent
f8715f91ef
commit
31003a3a52
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue