From 2836be6f7565684e86b3cc8a3d2db4ba690b3718 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 23 Oct 2008 14:42:47 +0100 Subject: Cleanup 'status && status != UNSUPPORTED' Replace instances of 'status && status != UNSUPPORTED' with the more readable _cairo_status_is_error(). --- src/cairo-clip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cairo-clip.c') diff --git a/src/cairo-clip.c b/src/cairo-clip.c index 8a0d4db1..93bc151c 100644 --- a/src/cairo-clip.c +++ b/src/cairo-clip.c @@ -656,7 +656,7 @@ _cairo_clip_path_reapply_clip_path (cairo_clip_t *clip, if (clip_path->prev) { status = _cairo_clip_path_reapply_clip_path (clip, clip_path->prev); - if (status && status != CAIRO_INT_STATUS_UNSUPPORTED) + if (_cairo_status_is_error (status)) return status; } @@ -709,7 +709,7 @@ _cairo_clip_init_deep_copy (cairo_clip_t *clip, if (other->path) { status = _cairo_clip_path_reapply_clip_path (clip, other->path); - if (status && status != CAIRO_INT_STATUS_UNSUPPORTED) + if (_cairo_status_is_error (status)) goto BAIL; } } -- cgit v1.2.3