[cairo-commit] cairo/pixman/src pixregion.c,1.10,1.11

Owen Taylor commit at pdx.freedesktop.org
Mon Aug 22 12:15:30 PDT 2005


Committed by: otaylor

Update of /cvs/cairo/cairo/pixman/src
In directory gabe:/tmp/cvs-serv29130/src

Modified Files:
	pixregion.c 
Log Message:
2005-08-22  Owen Taylor  <otaylor at redhat.com>

        * src/pixregion.c (pixman_region_union_rect): When width/height
        are 0, copy the src to the dest, don't just return. (#3017)


Index: pixregion.c
===================================================================
RCS file: /cvs/cairo/cairo/pixman/src/pixregion.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- pixregion.c	10 Aug 2005 20:27:48 -0000	1.10
+++ pixregion.c	22 Aug 2005 19:15:28 -0000	1.11
@@ -1156,7 +1156,7 @@
     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;



More information about the cairo-commit mailing list