diff options
author | Maks Naumov <maksqwe1@ukr.net> | 2014-08-20 09:52:45 -0700 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2014-08-28 13:16:47 -0700 |
commit | 29a8b4e970379ca04a7db8e63c71bb34c0e349ce (patch) | |
tree | 46d807e167ccf5896ddc885239b82c12ed1542e6 /src | |
parent | e6bf829d8953fac82ccc80618c6cae41346e483f (diff) | |
download | cairo-29a8b4e970379ca04a7db8e63c71bb34c0e349ce.tar.gz |
Fix _cairo_mesh_pattern_equal() when cairo_mesh_patch_t structs are different
Signed-off-by: Maks Naumov <maksqwe1@ukr.net>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/cairo-pattern.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-pattern.c b/src/cairo-pattern.c index 6905e15a3..e6fdae6a6 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; } |