mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.
This commit is contained in:
parent
5ca9287182
commit
0d4f13d20f
63 changed files with 168 additions and 160 deletions
|
|
@ -79,7 +79,8 @@ HISTORY_REC *command_history_find_name(const char *name)
|
|||
for (tmp = histories; tmp != NULL; tmp = tmp->next) {
|
||||
HISTORY_REC *rec = tmp->data;
|
||||
|
||||
if (rec->name != NULL && g_strcasecmp(rec->name, name) == 0)
|
||||
if (rec->name != NULL &&
|
||||
g_ascii_strcasecmp(rec->name, name) == 0)
|
||||
return rec;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue