Fixed coordinates conversion in OffsetClipRgn.

This commit is contained in:
Karl Lessard 1999-04-22 14:59:21 +00:00 committed by Alexandre Julliard
parent c9105da048
commit b5e41aa5e2
1 changed files with 1 additions and 1 deletions

View File

@ -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;