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

List:       cairo
Subject:    Re: [cairo] [PATCH] Fix _cairo_mesh_pattern_equal() when cairo_mesh_patch_t structs are different
From:       Bryce Harrington <bryce () osg ! samsung ! com>
Date:       2014-08-28 20:17:28
Message-ID: 20140828201728.GC25852 () bryceharrington ! org
[Download RAW message or body]

On Wed, Aug 20, 2014 at 09:52:45AM -0700, Maks Naumov wrote:
> Signed-off-by: Maks Naumov <maksqwe1@ukr.net>

Merged

Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>


> ---
>  src/cairo-pattern.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/cairo-pattern.c b/src/cairo-pattern.c
> index 6905e15..e6fdae6 100644
> --- a/src/cairo-pattern.c
> +++ b/src/cairo-pattern.c
> @@ -3911,7 +3911,7 @@ _cairo_mesh_pattern_equal (const cairo_mesh_pattern_t *a,
>  
>      for (i = 0; i < num_patches_a; i++) {
>  	patch_a = _cairo_array_index_const (&a->patches, i);
> -	patch_b = _cairo_array_index_const (&a->patches, i);
> +	patch_b = _cairo_array_index_const (&b->patches, i);
>  	if (memcmp (patch_a, patch_b, sizeof(cairo_mesh_patch_t)) != 0)
>  	    return FALSE;
>      }
> -- 
> 1.9.1
> 
> 
> 
> -- 
> cairo mailing list
> cairo@cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
-- 
cairo mailing list
cairo@cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo
[prev in list] [next in list] [prev in thread] [next in thread] 

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