[cairo-commit] src/cairo-xcb-surface-render.c

Chris Wilson ickle at kemper.freedesktop.org
Mon Oct 4 14:09:01 PDT 2010


 src/cairo-xcb-surface-render.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

New commits:
commit e675660ca7b50ce16108e11215bbb9aff05c7262
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Mon Oct 4 22:08:33 2010 +0100

    xcb: Correct a minor typo prevent an assert from firing
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/cairo-xcb-surface-render.c b/src/cairo-xcb-surface-render.c
index a3db489..2ce8c9e 100644
--- a/src/cairo-xcb-surface-render.c
+++ b/src/cairo-xcb-surface-render.c
@@ -2503,7 +2503,8 @@ _core_boxes (cairo_xcb_surface_t *dst,
 	cairo_status_t status;
 
 	status = _cairo_clip_get_region (clip, &clip_region);
-	assert (status == CAIRO_STATUS_SUCCESS || CAIRO_INT_STATUS_UNSUPPORTED);
+	assert (status == CAIRO_STATUS_SUCCESS ||
+		status == CAIRO_INT_STATUS_UNSUPPORTED);
 
 	if (status == CAIRO_INT_STATUS_UNSUPPORTED)
 	    return CAIRO_INT_STATUS_UNSUPPORTED;
@@ -2549,7 +2550,8 @@ _composite_boxes (cairo_xcb_surface_t *dst,
 
     if (clip != NULL) {
 	status = _cairo_clip_get_region (clip, &clip_region);
-	assert (status == CAIRO_STATUS_SUCCESS || CAIRO_INT_STATUS_UNSUPPORTED);
+	assert (status == CAIRO_STATUS_SUCCESS ||
+		status == CAIRO_INT_STATUS_UNSUPPORTED);
 
 	need_clip_mask = status == CAIRO_INT_STATUS_UNSUPPORTED;
 	if (need_clip_mask &&


More information about the cairo-commit mailing list