[cairo-commit] src/cairo-clip.c

Chris Wilson ickle at kemper.freedesktop.org
Wed Jun 17 09:17:30 PDT 2009


 src/cairo-clip.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 002264d572841f06930869a6c87fa2c987346dd6
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Wed Jun 17 17:15:26 2009 +0100

    [clip] Missing {} (coding style)
    
    Carl spotted that I'd slipped in a little CODING_STYLE violation.

diff --git a/src/cairo-clip.c b/src/cairo-clip.c
index d373f1e..79e4cbe 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);
 


More information about the cairo-commit mailing list