summaryrefslogtreecommitdiff
path: root/src/sna/sna_glyphs.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-01-18 13:09:36 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-01-18 13:09:36 +0000
commite17eaf540b614cdcb8f7349dd01852c3afc5ab05 (patch)
tree70e7044f46828abe4c0bbeb1d6f37f6321768234 /src/sna/sna_glyphs.c
parent2de43a0164ba5364ffd7cb48f0bccc9873e87332 (diff)
sna: Replace double negative '!RegionNotEmpty' with the equivalent RegionNil
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_glyphs.c')
-rw-r--r--src/sna/sna_glyphs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_glyphs.c b/src/sna/sna_glyphs.c
index 62253977..130c1eaa 100644
--- a/src/sna/sna_glyphs.c
+++ b/src/sna/sna_glyphs.c
@@ -1357,7 +1357,7 @@ glyphs_fallback(CARD8 op,
__FUNCTION__,
RegionExtents(&region)->x1, RegionExtents(&region)->y1,
RegionExtents(&region)->x2, RegionExtents(&region)->y2));
- if (!RegionNotEmpty(&region))
+ if (RegionNil(&region))
return;
if (!sna_drawable_move_region_to_cpu(dst->pDrawable, &region,