mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[GDI32]
Don't make the wrong assumption that POINT and POINTL are identical. svn path=/trunk/; revision=49714
This commit is contained in:
@@ -255,7 +255,7 @@ GetViewportExtEx(
|
||||
|
||||
if ((Dc_Attr->flXform & PAGE_EXTENTS_CHANGED) && (Dc_Attr->iMapMode == MM_ISOTROPIC))
|
||||
// Something was updated, go to kernel.
|
||||
return NtGdiGetDCPoint( hdc, GdiGetViewPortExt, (LPPOINT) lpSize );
|
||||
return NtGdiGetDCPoint( hdc, GdiGetViewPortExt, (PPOINTL) lpSize );
|
||||
else
|
||||
{
|
||||
lpSize->cx = Dc_Attr->szlViewportExt.cx;
|
||||
|
||||
@@ -746,7 +746,7 @@ GetAspectRatioFilterEx(
|
||||
LPSIZE lpAspectRatio
|
||||
)
|
||||
{
|
||||
return NtGdiGetDCPoint( hdc, GdiGetAspectRatioFilter, (LPPOINT) lpAspectRatio );
|
||||
return NtGdiGetDCPoint( hdc, GdiGetAspectRatioFilter, (PPOINTL) lpAspectRatio );
|
||||
}
|
||||
|
||||
|
||||
@@ -760,7 +760,7 @@ GetDCOrgEx(
|
||||
LPPOINT lpPoint
|
||||
)
|
||||
{
|
||||
return NtGdiGetDCPoint( hdc, GdiGetDCOrg, lpPoint );
|
||||
return NtGdiGetDCPoint( hdc, GdiGetDCOrg, (PPOINTL)lpPoint );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user