[Spice-commits] common/region.c
Yonit Halperin
yhalperi at kemper.freedesktop.org
Tue Apr 2 05:55:49 PDT 2013
common/region.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b52948d7920a24693a79a270b2f60a284dc10ff5
Author: Yonit Halperin <yhalperi at redhat.com>
Date: Tue Apr 2 08:45:42 2013 -0400
region.c: fix region_bounds_intersects
region_bounds_intersects mistakingly ignored one of the input regions,
and compared the other region to itself.
diff --git a/common/region.c b/common/region.c
index cd9ade0..14a27ed 100644
--- a/common/region.c
+++ b/common/region.c
@@ -420,7 +420,7 @@ int region_bounds_intersects(const QRegion *rgn1, const QRegion *rgn2)
pixman_box32_t *extents1, *extents2;
extents1 = pixman_region32_extents((pixman_region32_t *)rgn1);
- extents2 = pixman_region32_extents((pixman_region32_t *)rgn1);
+ extents2 = pixman_region32_extents((pixman_region32_t *)rgn2);
return EXTENTCHECK(extents1, extents2);
}
More information about the Spice-commits
mailing list