Fixed coordinates conversion in OffsetClipRgn.
This commit is contained in:
parent
c9105da048
commit
b5e41aa5e2
|
@ -164,7 +164,7 @@ INT WINAPI OffsetClipRgn( HDC hdc, INT x, INT y )
|
||||||
|
|
||||||
if (dc->w.hClipRgn)
|
if (dc->w.hClipRgn)
|
||||||
{
|
{
|
||||||
INT ret = OffsetRgn( dc->w.hClipRgn, XLPTODP(dc,x), YLPTODP(dc,y));
|
INT ret = OffsetRgn( dc->w.hClipRgn, XLSTODS(dc,x), YLSTODS(dc,y));
|
||||||
CLIPPING_UpdateGCRegion( dc );
|
CLIPPING_UpdateGCRegion( dc );
|
||||||
GDI_HEAP_UNLOCK( hdc );
|
GDI_HEAP_UNLOCK( hdc );
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue