Ingo Bürk
256007442f
Cast unsigned to signed before comparison
...
The values of a Rect are unsigned, but can contain signed values.
Using MAX when the value is negative causes incorrect behavior and
makes the result stay negative, which is what we wanted to avoid here
in the first place.
Fix by properly casting the value for the comparison.
fixes #2094
2015-12-03 18:57:02 +01:00
..
2015-10-25 14:27:08 +01:00
2015-11-16 00:49:27 -08:00
2015-10-30 08:38:53 +01:00
2015-09-28 14:24:08 +02:00
2015-10-27 10:07:25 +01:00
2015-11-23 22:18:02 +01:00
2015-11-23 22:18:02 +01:00
2015-11-02 22:12:44 +08:00
2015-11-23 22:18:02 +01:00
2015-04-20 17:50:21 -04:00
2015-07-10 22:54:25 +08:00
2015-11-21 22:48:48 +01:00
2015-08-03 12:50:13 +03:00
2015-10-26 22:14:14 +01:00
2015-11-23 22:18:02 +01:00
2015-08-26 09:56:42 +02:00
2015-11-01 16:35:17 -05:00
2015-08-26 09:56:42 +02:00
2015-10-22 15:32:15 +02:00
2015-09-21 14:27:22 +02:00
2015-11-23 22:18:02 +01:00
2012-07-22 19:57:48 +02:00
2015-11-23 22:18:02 +01:00
2015-11-22 13:32:21 -05:00
2015-04-20 17:50:21 -04:00
2015-09-24 22:10:17 +02:00
2015-10-21 19:09:47 +02:00
2015-10-28 14:40:10 +01:00
2015-10-23 00:38:11 +02:00
2015-11-23 22:18:02 +01:00
2015-11-23 22:18:02 +01:00
2015-09-13 20:40:20 +02:00
2014-06-15 19:07:02 +02:00
2015-10-06 23:01:57 +02:00
2015-09-28 14:24:08 +02:00
2015-08-02 20:50:14 +02:00
2015-09-20 07:48:02 +08:00
2015-04-20 17:50:21 -04:00
2015-10-13 09:59:26 +02:00
2015-10-16 23:25:12 +08:00
2015-12-03 18:57:02 +01:00
2015-11-23 22:18:02 +01:00
2015-04-20 17:50:21 -04:00
2015-09-21 13:26:58 +02:00