diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-01-05 10:37:51 -0500 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-01-09 05:40:33 -0500 |
commit | 3e93bba3b04b42c2ab99d828dae12c18f29bcf7d (patch) | |
tree | 43e5d9fbcdc1dc59cc8fae4f684a13a72f622d89 | |
parent | ae651e7e739253f79f345f9fcbacad8627da0d85 (diff) |
pixman-image.c: Fix typo in pixman_image_set_transform()
A parenthesis was misplaced so that the size argument to memcmp() was
always 0. The bug is harmless except that the flags might be
unnecessarily recomputed in some cases.
A bug reporting this in Mozilla's fork was discovered here:
https://bugzilla.mozilla.org/show_bug.cgi?id=710992
-rw-r--r-- | pixman/pixman-image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/pixman-image.c b/pixman/pixman-image.c index 913853c..ad5996b 100644 --- a/pixman/pixman-image.c +++ b/pixman/pixman-image.c @@ -631,7 +631,7 @@ pixman_image_set_transform (pixman_image_t * image, } if (common->transform && - memcmp (common->transform, transform, sizeof (pixman_transform_t) == 0)) + memcmp (common->transform, transform, sizeof (pixman_transform_t)) == 0) { return TRUE; } |