mirror of
https://github.com/irssi/irssi.git
synced 2026-08-22 10:02:22 +02:00
I blame other languages
This commit is contained in:
parent
11bc71a2ea
commit
7c540a0139
1 changed files with 1 additions and 1 deletions
|
|
@ -179,7 +179,7 @@ int strarray_find_prefix(char **array, const char *item)
|
|||
index = 0;
|
||||
for (tmp = array; *tmp != NULL; tmp++, index++) {
|
||||
//if (g_str_has_prefix(g_ascii_strdown(*tmp, -1), item))
|
||||
if (g_ascii_strncasecmp(*tmp, item, length(item)) == 0)
|
||||
if (g_ascii_strncasecmp(*tmp, item, strlen(item)) == 0)
|
||||
return index;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue