[xserver-commit] xserver/render render.c,1.28,1.29

Keith Packard xserver-commit@pdx.freedesktop.org


Committed by: keithp

Update of /cvs/xserver/xserver/render
In directory pdx:/tmp/cvs-serv6270/render

Modified Files:
	render.c 
Log Message:
2004-03-10  Keith Packard  <keithp@keithp.com>

	* render/render.c: (ProcRenderCreateCursor):
	Extra ';' would cause failure when creating cursors with non-ARGB32
	pictures (Kjartan Maraas)


Index: render.c
===================================================================
RCS file: /cvs/xserver/xserver/render/render.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- a/render.c	11 Sep 2003 05:12:51 -0000	1.28
+++ b/render.c	11 Mar 2004 01:19:21 -0000	1.29
@@ -1504,7 +1504,7 @@
 	}
 	pPicture = CreatePicture (0, &pPixmap->drawable, pFormat, 0, 0, 
 				  client, &error);
-	if (!pPicture);
+	if (!pPicture)
 	{
 	    xfree (argbbits);
 	    xfree (srcbits);