Skip to content

Commit

Permalink
Fix _cairo_mesh_pattern_equal() when cairo_mesh_patch_t structs are d…
Browse files Browse the repository at this point in the history
…ifferent

Signed-off-by: Maks Naumov <maksqwe1@ukr.net>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
  • Loading branch information
Maks Naumov authored and Bryce Harrington committed Aug 28, 2014
1 parent e6bf829 commit 29a8b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cairo-pattern.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 29a8b4e

Please sign in to comment.