diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-10-23 14:42:47 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-10-30 17:52:12 +0000 |
commit | 2836be6f7565684e86b3cc8a3d2db4ba690b3718 (patch) | |
tree | 799041252696faef5deed8d0de520fce42fa39e7 /src/cairo-clip.c | |
parent | 13ba43eb8ffc3bb6c8881d91824102a8df86d928 (diff) |
Cleanup 'status && status != UNSUPPORTED'
Replace instances of 'status && status != UNSUPPORTED' with the more
readable _cairo_status_is_error().
Diffstat (limited to 'src/cairo-clip.c')
-rw-r--r-- | src/cairo-clip.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |