[cairo-commit] cairo/src cairo-win32-surface.c,1.28,1.29
Stuart Parmenter
commit at pdx.freedesktop.org
Thu Jul 14 16:51:00 PDT 2005
Committed by: pavlov
Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv9772/src
Modified Files:
cairo-win32-surface.c
Log Message:
2005-08-14 Stuart Parmenter <pavlov at pavlov.net>
* src/cairo-win32-surface.c: (_cairo_win32_surface_fill_rectangles):
blue and green values were swapped in the DO_SOURCE case.
Index: cairo-win32-surface.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-win32-surface.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- cairo-win32-surface.c 8 Jul 2005 17:12:29 -0000 1.28
+++ cairo-win32-surface.c 14 Jul 2005 23:50:58 -0000 1.29
@@ -706,7 +706,7 @@
new_color = RGB (0, 0, 0);
break;
case DO_SOURCE:
- new_color = RGB (color->red_short >> 8, color->blue_short >> 8, color->green_short >> 8);
+ new_color = RGB (color->red_short >> 8, color->green_short >> 8, color->blue_short >> 8);
break;
case DO_NOTHING:
return CAIRO_STATUS_SUCCESS;
More information about the cairo-commit
mailing list