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 */ |
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 */ |