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

Keith Packard commit at pdx.freedesktop.org
Wed Aug 10 13:27:51 PDT 2005


Committed by: keithp

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

Modified Files:
	pixregion.c 
Log Message:
2005-08-10  Keith Packard  <keithp at keithp.com>

	* src/pixregion.c: (pixman_region_union_rect):
	Union with empty rectangle should yield SUCCESS, not FAILURE


Index: pixregion.c
===================================================================
RCS file: /cvs/cairo/cairo/pixman/src/pixregion.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- pixregion.c	16 Apr 2004 15:32:53 -0000	1.9
+++ pixregion.c	10 Aug 2005 20:27:48 -0000	1.10
@@ -1156,7 +1156,7 @@
     pixman_region16_t region;
 
     if (!width || !height)
-	return PIXMAN_REGION_STATUS_FAILURE;
+	return PIXMAN_REGION_STATUS_SUCCESS;
     region.data = NULL;
     region.extents.x1 = x;
     region.extents.y1 = y;




More information about the cairo-commit mailing list