changeset 31547:3007ca8322ef

Allow both spellings of grey, since this is user-visible.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Thu, 05 May 2011 06:22:20 +0000
parents 62b11ad353eb
children 83c5af533082
files finch/libgnt/gntcolors.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntcolors.c	Thu May 05 06:21:47 2011 +0000
+++ b/finch/libgnt/gntcolors.c	Thu May 05 06:22:20 2011 +0000
@@ -161,9 +161,9 @@
 		color = custom ? GNT_COLOR_BLUE : COLOR_BLUE;
 	else if (strcmp(key, "white") == 0)
 		color = custom ? GNT_COLOR_WHITE : COLOR_WHITE;
-	else if (strcmp(key, "gray") == 0)
+	else if (strcmp(key, "gray") == 0 || strcmp(key, "grey") == 0)
 		color = custom ? GNT_COLOR_GRAY : COLOR_YELLOW;  /* eh? */
-	else if (strcmp(key, "darkgray") == 0)
+	else if (strcmp(key, "darkgray") == 0 || strcmp(key, "darkgrey") == 0)
 		color = custom ? GNT_COLOR_DARK_GRAY : COLOR_BLACK;
 	else if (strcmp(key, "magenta") == 0)
 		color = COLOR_MAGENTA;