Commit 2d1a137f authored by Bryce Harrington's avatar Bryce Harrington
Browse files

Revert "clip-boxes: Drop too-early return"

This reverts commit cb871c6c.

The original code is badly, but removing the early return leads to
crashes.  This code will need a lot more attention to get right, for now
at least go back to the original behavior.

Fixes: #358 (comment 125270)
parent 9752636b
......@@ -524,6 +524,7 @@ _cairo_clip_reduce_to_boxes (cairo_clip_t *clip)
cairo_clip_path_t *clip_path;
cairo_status_t status;
return clip;
if (clip->path == NULL)
return clip;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment