pidgin: efbf919b: Allow both spellings of grey, since this...
qulogic at pidgin.im
qulogic at pidgin.im
Fri May 6 02:37:53 EDT 2011
----------------------------------------------------------------------
Revision: efbf919bdf6f7a3e3b00bf6201268832e6f2285f
Parent: beaac32b73f45831c94b8534624ce00063fa8dc4
Author: qulogic at pidgin.im
Date: 05/05/11 02:22:20
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/efbf919bdf6f7a3e3b00bf6201268832e6f2285f
Changelog:
Allow both spellings of grey, since this is user-visible.
Changes against parent beaac32b73f45831c94b8534624ce00063fa8dc4
patched finch/libgnt/gntcolors.c
-------------- next part --------------
============================================================
--- finch/libgnt/gntcolors.c 2b20a0a771628db4f93bad108cfd6ba0ce8757dc
+++ finch/libgnt/gntcolors.c 8a25be8f9a2a065f7b5c00a5efbdad7a920228be
@@ -161,9 +161,9 @@ gnt_colors_get_color(char *key)
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;
More information about the Commits
mailing list