diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /gfx/cairo/fix-clip-test.patch | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'gfx/cairo/fix-clip-test.patch')
-rw-r--r-- | gfx/cairo/fix-clip-test.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gfx/cairo/fix-clip-test.patch b/gfx/cairo/fix-clip-test.patch new file mode 100644 index 000000000..9987b48bf --- /dev/null +++ b/gfx/cairo/fix-clip-test.patch @@ -0,0 +1,15 @@ +Fix a clip test to test the right coordinate. + +Fixed upstream by 498c10032ea3f8631a928cd7df96766f2c8ddca4 +diff --git a/gfx/cairo/cairo/src/cairo-clip.c b/gfx/cairo/cairo/src/cairo-clip.c +--- a/gfx/cairo/cairo/src/cairo-clip.c ++++ b/gfx/cairo/cairo/src/cairo-clip.c +@@ -408,7 +408,7 @@ _cairo_clip_rectangle (cairo_clip_t + /* if a smaller clip has already been set, ignore the new path */ + if (clip->path != NULL) { + if (rectangle->x <= clip->path->extents.x && +- rectangle->y <= clip->path->extents.x && ++ rectangle->y <= clip->path->extents.y && + rectangle->x + rectangle->width >= clip->path->extents.x + clip->path->extents.width && + rectangle->y + rectangle->height >= clip->path->extents.y + clip->path->extents.height) + { |