xserver/fb fbpict.c,1.33,1.34

David Reveman xserver-commit at pdx.freedesktop.org
Thu Mar 10 15:32:39 PST 2005


Committed by: davidr

Update of /cvs/xserver/xserver/fb
In directory gabe:/tmp/cvs-serv29593/fb

Modified Files:
	fbpict.c 
Log Message:
Shut up compiler

Index: fbpict.c
===================================================================
RCS file: /cvs/xserver/xserver/fb/fbpict.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- fbpict.c	2 Mar 2005 15:30:03 -0000	1.33
+++ fbpict.c	10 Mar 2005 23:32:37 -0000	1.34
@@ -1422,7 +1422,7 @@
     CompositeFunc   func;
     Bool	    srcRepeat = pSrc->repeat;
     Bool	    maskRepeat = FALSE;
-    Bool	    srcTransform = pSrc->transform;
+    Bool	    srcTransform = pSrc->transform != 0;
     Bool	    maskTransform = FALSE;
     Bool	    srcAlphaMap = pSrc->alphaMap != 0;
     Bool	    maskAlphaMap = FALSE;
@@ -1448,7 +1448,7 @@
 	xMask += pMask->pDrawable->x;
 	yMask += pMask->pDrawable->y;
 	maskRepeat = pMask->repeat;
-	maskTransform = pMask->transform;
+	maskTransform = pMask->transform != 0;
 	if (pMask->filter == PictFilterConvolution)
 	    maskTransform = TRUE;
 	



More information about the xserver-commit mailing list