[libcroco] Make colour table const



commit df305a1af206f2d946efd5d99db4d7b5c854d066
Author: Felix Riemann <friemann%40gnome.org>
Date:   Tue Dec 6 01:00:12 2011 +0100

    Make colour table const
    
    https://bugzilla.gnome.org/show_bug.cgi?id=546765

 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 6313a58..d919bed 100644
--- a/src/cr-rgb.c
+++ b/src/cr-rgb.c
@@ -28,7 +28,7 @@
 #include "cr-term.h"
 #include "cr-parser.h"
 
-static CRRgb gv_standard_colors[] = {
+static const CRRgb gv_standard_colors[] = {
         {"aliceblue", 240, 248, 255, 0,},
         {"antiquewhite", 250, 235, 215, 0},
         {"aqua", 0, 255, 255, 0},



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