diff options
Diffstat (limited to 'src/cairo-path-fill.c')
-rw-r--r-- | src/cairo-path-fill.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cairo-path-fill.c b/src/cairo-path-fill.c index a6dea083..7af91d20 100644 --- a/src/cairo-path-fill.c +++ b/src/cairo-path-fill.c @@ -177,18 +177,18 @@ _cairo_path_fixed_fill_to_traps (cairo_path_fixed_t *path, _cairo_filler_curve_to, _cairo_filler_close_path, &filler); - if (status) + if (unlikely (status)) goto BAIL; _cairo_polygon_close (&filler.polygon); status = _cairo_polygon_status (&filler.polygon); - if (status) + if (unlikely (status)) goto BAIL; status = _cairo_bentley_ottmann_tessellate_polygon (filler.traps, &filler.polygon, fill_rule); - if (status) + if (unlikely (status)) goto BAIL; BAIL: @@ -237,7 +237,7 @@ _cairo_path_fixed_fill_rectangle (cairo_path_fixed_t *path, * GdkRegion clip region during exposes. */ _cairo_path_fixed_iter_init (&iter, path); - while (_cairo_path_fixed_iter_is_box (&iter, &box)) { + while (_cairo_path_fixed_iter_is_fill_box (&iter, &box)) { cairo_status_t status; int cw = 0; |