/[weechat]/weechat/src/gui/curses/gui-display.c
ViewVC logotype

Diff of /weechat/src/gui/curses/gui-display.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.108 by flashcode, Wed Aug 17 16:54:05 2005 UTC revision 1.109 by flashcode, Sat Sep 3 12:37:22 2005 UTC
# Line 80  gui_assign_color (int *color, char *colo Line 80  gui_assign_color (int *color, char *colo
80      i = 0;      i = 0;
81      while (gui_colors[i].name)      while (gui_colors[i].name)
82      {      {
83          if (strcasecmp (gui_colors[i].name, color_name) == 0)          if (ascii_strcasecmp (gui_colors[i].name, color_name) == 0)
84          {          {
85              *color = gui_colors[i].color;              *color = gui_colors[i].color;
86              return 1;              return 1;
# Line 105  gui_get_color_by_name (char *color_name) Line 105  gui_get_color_by_name (char *color_name)
105      i = 0;      i = 0;
106      while (gui_colors[i].name)      while (gui_colors[i].name)
107      {      {
108          if (strcasecmp (gui_colors[i].name, color_name) == 0)          if (ascii_strcasecmp (gui_colors[i].name, color_name) == 0)
109              return gui_colors[i].color;              return gui_colors[i].color;
110          i++;          i++;
111      }      }

Legend:
Removed from v.1.108  
changed lines
  Added in v.1.109

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26