summaryrefslogtreecommitdiff
path: root/src/cairo-clip.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-06-17 17:15:26 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-06-17 17:15:26 +0100
commit002264d572841f06930869a6c87fa2c987346dd6 (patch)
treedc0705f696c10ee277673e1663b35e1022bd3e22 /src/cairo-clip.c
parentbc87074185592eae367b6c091241957b94202fda (diff)
[clip] Missing {} (coding style)
Carl spotted that I'd slipped in a little CODING_STYLE violation.
Diffstat (limited to 'src/cairo-clip.c')
-rw-r--r--src/cairo-clip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cairo-clip.c b/src/cairo-clip.c
index d373f1ea..79e4cbe6 100644
--- a/src/cairo-clip.c
+++ b/src/cairo-clip.c
@@ -337,8 +337,9 @@ _cairo_clip_intersect_region (cairo_clip_t *clip,
if (clip->region) {
status = cairo_region_intersect (clip->region, region);
cairo_region_destroy (region);
- } else
+ } else {
clip->region = region;
+ }
clip->serial = _cairo_surface_allocate_clip_serial (target);