diff --git a/pixman/ChangeLog b/pixman/ChangeLog index b942ce839..0e9f96849 100644 --- a/pixman/ChangeLog +++ b/pixman/ChangeLog @@ -1,3 +1,8 @@ +2005-08-22 Owen Taylor + + * src/pixregion.c (pixman_region_union_rect): When width/height + are 0, copy the src to the dest, don't just return. (#3017) + 2005-08-21 Billy Biggs * src/pixman-remap.h: Fix a typo in the last change. diff --git a/pixman/src/pixregion.c b/pixman/src/pixregion.c index 37505d99d..9c122f534 100644 --- a/pixman/src/pixregion.c +++ b/pixman/src/pixregion.c @@ -1156,7 +1156,7 @@ pixman_region_union_rect(pixman_region16_t *dest, pixman_region16_t *source, pixman_region16_t region; if (!width || !height) - return PIXMAN_REGION_STATUS_SUCCESS; + return pixman_region_copy (dest, source); region.data = NULL; region.extents.x1 = x; region.extents.y1 = y;