[libcroco] cr-rgb: Fix mapping for 'green'



commit 0cbb0dfed7350ed48a12d56925cdd76255891aa5
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Sun Mar 18 11:47:51 2012 +0100

    cr-rgb: Fix mapping for 'green'
    
    Green is supposed to be #00FF00 not #008000.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=672332

 src/cr-rgb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/cr-rgb.c b/src/cr-rgb.c
index ffd7746..648191a 100644
--- a/src/cr-rgb.c
+++ b/src/cr-rgb.c
@@ -85,7 +85,7 @@ static const CRRgb gv_standard_colors[] = {
         {(const guchar*)"gold",        255, 215,   0, FALSE, FALSE, FALSE, {0,0,0}},
         {(const guchar*)"goldenrod",   218, 165,  32, FALSE, FALSE, FALSE, {0,0,0}},
         {(const guchar*)"gray",        128, 128, 128, FALSE, FALSE, FALSE, {0,0,0}},
-        {(const guchar*)"green",         0, 128,   0, FALSE, FALSE, FALSE, {0,0,0}},
+        {(const guchar*)"green",         0, 255,   0, FALSE, FALSE, FALSE, {0,0,0}},
         {(const guchar*)"greenyellow", 173, 255,  47, FALSE, FALSE, FALSE, {0,0,0}},
         {(const guchar*)"grey",        128, 128, 128, FALSE, FALSE, FALSE, {0,0,0}},
         {(const guchar*)"honeydew",    240, 255, 240, FALSE, FALSE, FALSE, {0,0,0}},



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]