--- a/gntcolors.c Tue Jan 13 23:13:32 2009 +0000
+++ b/gntcolors.c Thu Jan 29 02:12:16 2009 +0000
@@ -208,7 +208,7 @@
key = g_ascii_strdown(key, -1);
color = gnt_colors_get_color(key);
init_color(color, r, g, b);
@@ -251,7 +251,7 @@
int bg = gnt_colors_get_color(bgc);
- if (fg == -1 || bg == -1)
+ if (fg == -EINVAL || bg == -EINVAL) key = g_ascii_strdown(key, -1);