[cairo-commit] pycairo/cairo pycairo-surface.c,1.62,1.63

Steve Chaplin commit at pdx.freedesktop.org
Tue Jan 17 04:00:10 PST 2006


Committed by: stevech1097

Update of /cvs/cairo/pycairo/cairo
In directory gabe:/tmp/cvs-serv19002/cairo

Modified Files:
	pycairo-surface.c 
Log Message:
'SC'

Index: pycairo-surface.c
===================================================================
RCS file: /cvs/cairo/pycairo/cairo/pycairo-surface.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- pycairo-surface.c	15 Dec 2005 16:20:46 -0000	1.62
+++ pycairo-surface.c	17 Jan 2006 12:00:08 -0000	1.63
@@ -445,10 +445,8 @@
     if (stride < 0) {
 	switch (format) {
 	case CAIRO_FORMAT_ARGB32:
-	    stride = width * 4;
-	    break;
 	case CAIRO_FORMAT_RGB24:
-	    stride = width * 3;
+	    stride = width * 4;
 	    break;
 	case CAIRO_FORMAT_A8:
 	    stride = width;



More information about the cairo-commit mailing list