Commit c66d9af7 authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

ExtSelectClipRgn fix: RGN_DIFF did not work.

parent a11ce32a
......@@ -98,7 +98,10 @@ INT32 WINAPI ExtSelectClipRgn( HDC32 hdc, HRGN32 hrgn, INT32 fnMode )
}
OffsetRgn32( dc->w.hClipRgn, -dc->w.DCOrgX, -dc->w.DCOrgY );
retval = CombineRgn32( dc->w.hClipRgn, hrgn, dc->w.hClipRgn, fnMode );
if(fnMode == RGN_COPY)
retval = CombineRgn32( dc->w.hClipRgn, hrgn, 0, fnMode );
else
retval = CombineRgn32( dc->w.hClipRgn, dc->w.hClipRgn, hrgn, fnMode);
OffsetRgn32( dc->w.hClipRgn, dc->w.DCOrgX, dc->w.DCOrgY );
}
......
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