[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo-commit
Subject:    [cairo-commit] src/cairo-clip-boxes.c
From:       gitlab-mirror () kemper ! freedesktop ! org (GitLab Mirror)
Date:       2019-03-03 8:04:29
Message-ID: 20190303080429.7A44676147 () kemper ! freedesktop ! org
[Download RAW message or body]

 src/cairo-clip-boxes.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 2d1a137f3d27b60538c58b25e867288c7b0b61bc
Author: Bryce Harrington <bryce@bryceharrington.org>
Date:   Sun Mar 3 00:01:34 2019 -0800

    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

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;
 
_______________________________________________
cairo-commit mailing list
cairo-commit@lists.cairographics.org
https://lists.cairographics.org/mailman/listinfo/cairo-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic