region.c: fix region_bounds_intersects

region_bounds_intersects mistakingly ignored one of the input regions,
and compared the other region to itself.
This commit is contained in:
Yonit Halperin 2013-04-02 08:45:42 -04:00
parent 063f4dd385
commit b52948d792

View File

@ -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);
}