зеркало из https://github.com/mozilla/pjs.git
29 строки
873 B
Diff
29 строки
873 B
Diff
|
# HG changeset patch
|
||
|
# Parent a968f1430c74282c673c01a2c0a4417e238f2de7
|
||
|
# User Thomas Prip Vestergaard <thomas@prip.nu>
|
||
|
Bug 710992 - Fix third argument in memcmp call in pixman-image.c
|
||
|
|
||
|
|
||
|
diff --git a/gfx/cairo/libpixman/src/pixman-image.c b/gfx/cairo/libpixman/src/pixman-image.c
|
||
|
--- a/gfx/cairo/libpixman/src/pixman-image.c
|
||
|
+++ b/gfx/cairo/libpixman/src/pixman-image.c
|
||
|
@@ -512,17 +512,17 @@ pixman_image_set_transform (pixman_image
|
||
|
free (common->transform);
|
||
|
common->transform = NULL;
|
||
|
result = TRUE;
|
||
|
|
||
|
goto out;
|
||
|
}
|
||
|
|
||
|
if (common->transform &&
|
||
|
- memcmp (common->transform, transform, sizeof (pixman_transform_t) == 0))
|
||
|
+ memcmp (common->transform, transform, sizeof (pixman_transform_t)) == 0)
|
||
|
{
|
||
|
return TRUE;
|
||
|
}
|
||
|
|
||
|
if (common->transform == NULL)
|
||
|
common->transform = malloc (sizeof (pixman_transform_t));
|
||
|
|
||
|
if (common->transform == NULL)
|