[NTGDI] Add missing LPtoDP in GreExtTextOutW (TA_UPDATECP). Fixes CORE-12218 without breaking CORE-11415

svn path=/trunk/; revision=74217
This commit is contained in:
Sebastian Gasiorek
2017-03-20 22:40:52 +00:00
parent e06db72a02
commit 340d80290d
+2 -2
View File
@@ -4845,16 +4845,16 @@ GreExtTextOutW(
IntLPtoDP(dc, (POINT *)lprc, 2);
}
if(pdcattr->lTextAlign & TA_UPDATECP)
if (pdcattr->lTextAlign & TA_UPDATECP)
{
Start.x = pdcattr->ptlCurrent.x;
Start.y = pdcattr->ptlCurrent.y;
} else {
Start.x = XStart;
Start.y = YStart;
IntLPtoDP(dc, &Start, 1);
}
IntLPtoDP(dc, &Start, 1);
RealXStart = ((LONGLONG)Start.x + dc->ptlDCOrig.x) << 6;
YStart = Start.y + dc->ptlDCOrig.y;