[cairo-commit] src/cairo-pattern.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Mon Jul 18 09:14:04 UTC 2016


 src/cairo-pattern.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d28b6d9b128675dfa9b3b6b793844144183aff64
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Mon Jul 18 18:43:03 2016 +0930

    pattern: revert an unintentional change added in 190678f

diff --git a/src/cairo-pattern.c b/src/cairo-pattern.c
index aa78c32..1f39c7b 100644
--- a/src/cairo-pattern.c
+++ b/src/cairo-pattern.c
@@ -3752,7 +3752,7 @@ _cairo_pattern_get_extents (const cairo_pattern_t         *pattern,
 	iy2 = CAIRO_RECT_INT_MAX;
     else
 	iy2 = _cairo_lround (y2);
-    extents->y = iy1; extents->height = iy2 - iy1 + 1;
+    extents->y = iy1; extents->height = iy2 - iy1;
     if (is_vector && extents->height == 0 && y1 != y2)
 	extents->height += 1;
 


More information about the cairo-commit mailing list