mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +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
|
|
@ -292,7 +292,7 @@ static void event_list_subcommands(const char *command)
|
|||
for (tmp = commands; tmp != NULL; tmp = tmp->next) {
|
||||
COMMAND_REC *rec = tmp->data;
|
||||
|
||||
if (g_strncasecmp(rec->cmd, command, len) == 0 &&
|
||||
if (g_ascii_strncasecmp(rec->cmd, command, len) == 0 &&
|
||||
rec->cmd[len] == ' ' &&
|
||||
strchr(rec->cmd+len+1, ' ') == NULL) {
|
||||
g_string_append_printf(str, "%s ", rec->cmd+len+1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue