Commit Graph

7 Commits

Author SHA1 Message Date
Søren Sandmann Pedersen
4c60ed5ec6 Fix bug in pixman-region.c where empty regions would not be properly initialized.
Also add a couple more tests to region-test.c.
2009-07-09 04:00:19 -04:00
Søren Sandmann Pedersen
706e659431 Add a box with y2 < y1 in region-test.c 2009-07-08 18:39:43 -04:00
Søren Sandmann Pedersen
2d32d91e5d Use postfix decrement, not prefix, in region-test.c 2009-07-08 00:38:28 -04:00
Søren Sandmann Pedersen
4e41905bac Eliminate empty rectangles in pixman_region_init_rects().
Otherwise they show up in the validated regions.
2009-07-08 00:08:49 -04:00
Søren Sandmann Pedersen
967ff0bdc7 Add an initialization with an empty rectangle to region-test.c
This should produce a valid region without empty rectangles in
it. Currently it doesn't.
2009-07-07 22:55:32 -04:00
Søren Sandmann
a76826f198 Fix uses of short variables in pixman-region.c 2008-06-09 01:03:15 -04:00
Søren Sandmann
85bad33380 Add infinite loop test 2008-06-09 00:51:28 -04:00