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

Ken Thomases ken at codeweavers.com
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: <http://www.winehq.org/pipermail/wine-patches/attachments/20150119/b9eaa885/attachment.bin>


More information about the wine-patches mailing list