Commit b5e41aa5 authored by Karl Lessard's avatar Karl Lessard Committed by Alexandre Julliard

Fixed coordinates conversion in OffsetClipRgn.

parent c9105da0
......@@ -164,7 +164,7 @@ INT WINAPI OffsetClipRgn( HDC hdc, INT x, INT y )
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 );
GDI_HEAP_UNLOCK( hdc );
return ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment