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

Oeyvind Kolaas commit at pdx.freedesktop.org
Tue Jan 11 13:50:15 PST 2005


Committed by: pippin

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

Modified Files:
	cairo_color.c 
Log Message:
renamed CAIRO_COLOR_DEFAULT to CAIRO_COLOR_WHITE

Index: cairo_color.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo_color.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- cairo_color.c	11 Jan 2005 21:28:51 -0000	1.9
+++ cairo_color.c	11 Jan 2005 21:50:13 -0000	1.10
@@ -36,9 +36,9 @@
 
 #include "cairoint.h"
 
-static cairo_color_t const CAIRO_COLOR_DEFAULT = {
-    0.0, 0.0, 0.0, 1.0,
-    0x0000, 0x0000, 0x0000, 0xffff
+static cairo_color_t const CAIRO_COLOR_WHITE = {
+    1.0, 1.0, 1.0, 1.0,
+    0xffff, 0xffff, 0xffff, 0xffff
 };
 
 static void
@@ -47,7 +47,7 @@
 void
 _cairo_color_init (cairo_color_t *color)
 {
-    *color = CAIRO_COLOR_DEFAULT;
+    *color = CAIRO_COLOR_WHITE;
 }
 
 void




More information about the cairo-commit mailing list