diff options
author | Søren Sandmann <sandmann@redhat.com> | 2008-12-11 18:37:40 -0500 |
---|---|---|
committer | Søren Sandmann Pedersen <sandmann@daimi.au.dk> | 2009-03-28 18:01:19 -0400 |
commit | c29aeee2d3569cd43e88adc05662bb6306987b8b (patch) | |
tree | d38c678d372f7fd05b7e477ad8460dba8cc5d5d6 /src/cairo-region.c | |
parent | c88321d0a2b9d200b2044674d02fa0683feca74c (diff) |
[region] Change sense of _cairo_region_not_empty() to _cairo_region_empty()
Having "not" in the name causes double negatives.
Diffstat (limited to 'src/cairo-region.c')
-rw-r--r-- | src/cairo-region.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cairo-region.c b/src/cairo-region.c index 8224582d..1d5de7ce 100644 --- a/src/cairo-region.c +++ b/src/cairo-region.c @@ -261,12 +261,12 @@ _cairo_region_union_rect (cairo_region_t *dst, } cairo_bool_t -_cairo_region_not_empty (cairo_region_t *region) +_cairo_region_empty (cairo_region_t *region) { if (region->status) - return FALSE; + return TRUE; - return (cairo_bool_t) pixman_region32_not_empty (®ion->rgn); + return !pixman_region32_not_empty (®ion->rgn); } void |