mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 19:25:36 +00:00
[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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user