[GDI32] Fix MS build

Fix old uncovered code.
This commit is contained in:
James Tabor 2019-05-01 20:53:06 -05:00
parent b751c31c74
commit 44b11ad6a9

View file

@ -866,7 +866,7 @@ OffsetViewportOrgEx(
if (lpPoint) if (lpPoint)
{ {
*lpPoint = (POINT)pdcattr->ptlViewportOrg; *lpPoint = pdcattr->ptlViewportOrg;
if ( pdcattr->dwLayout & LAYOUT_RTL) lpPoint->x = -lpPoint->x; if ( pdcattr->dwLayout & LAYOUT_RTL) lpPoint->x = -lpPoint->x;
} }
@ -917,7 +917,7 @@ OffsetWindowOrgEx(
if ( lpPoint ) if ( lpPoint )
{ {
*lpPoint = (POINT)pdcattr->ptlWindowOrg; *lpPoint = pdcattr->ptlWindowOrg;
//lpPoint->x = pdcattr->lWindowOrgx; //lpPoint->x = pdcattr->lWindowOrgx;
} }