/[weechat]/weechat/src/common/weelist.c
ViewVC logotype

Diff of /weechat/src/common/weelist.c

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

revision 1.1 by flashcode, Sun Jan 16 11:52:22 2005 UTC revision 1.2 by flashcode, Sat Sep 3 12:37:22 2005 UTC
# Line 42  weelist_search (t_weelist *weelist, char Line 42  weelist_search (t_weelist *weelist, char
42            
43      for (ptr_weelist = weelist; ptr_weelist; ptr_weelist = ptr_weelist->next_weelist)      for (ptr_weelist = weelist; ptr_weelist; ptr_weelist = ptr_weelist->next_weelist)
44      {      {
45          if (strcasecmp (data, ptr_weelist->data) == 0)          if (ascii_strcasecmp (data, ptr_weelist->data) == 0)
46              return ptr_weelist;              return ptr_weelist;
47      }      }
48      /* word not found in list */      /* word not found in list */
# Line 60  weelist_find_pos (t_weelist *weelist, ch Line 60  weelist_find_pos (t_weelist *weelist, ch
60            
61      for (ptr_weelist = weelist; ptr_weelist; ptr_weelist = ptr_weelist->next_weelist)      for (ptr_weelist = weelist; ptr_weelist; ptr_weelist = ptr_weelist->next_weelist)
62      {      {
63          if (strcasecmp (data, ptr_weelist->data) < 0)          if (ascii_strcasecmp (data, ptr_weelist->data) < 0)
64              return ptr_weelist;              return ptr_weelist;
65      }      }
66      /* position not found, best position is at the end */      /* position not found, best position is at the end */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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