summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2019-03-03 00:01:34 -0800
committerBryce Harrington <bryce@bryceharrington.org>2019-03-03 00:01:34 -0800
commit2d1a137f3d27b60538c58b25e867288c7b0b61bc (patch)
treec49642305d2b63fa440bf9554b75e87546cacdfc /src
parent9752636bade11a9b3a3f65367c2b3728ca60a983 (diff)
Revert "clip-boxes: Drop too-early return"
This reverts commit cb871c6c692af68d8e0bf9e26472af45435f8a2c. 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: https://gitlab.freedesktop.org/cairo/cairo/issues/358#note_125270
Diffstat (limited to 'src')
-rw-r--r--src/cairo-clip-boxes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-clip-boxes.c b/src/cairo-clip-boxes.c
index d6e29fa3a..aaddeb7f7 100644
--- a/src/cairo-clip-boxes.c
+++ b/src/cairo-clip-boxes.c
@@ -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;