winemac: Fix conversion of empty RECT to an empty CGRect.

Ken Thomases ken at
Mon Jan 19 13:11:15 CST 2015

For some empty RECTs, such as { INT_MAX, INT_MAX, INT_MIN, INT_MIN }, right
minus left or bottom minus top underflow and wrap around to positive values.
dlls/winemac.drv/macdrv.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winemac-Fix-conversion-of-empty-RECT-to-an-empty-CGR.patch
Type: text/x-patch
Size: 609 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list