mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 03:40:16 +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
|
|
@ -194,11 +194,11 @@ static void show_help(const char *data)
|
|||
items = 0;
|
||||
}
|
||||
|
||||
if (last != NULL && g_strcasecmp(rec->cmd, last->cmd) == 0)
|
||||
if (last != NULL && g_ascii_strcasecmp(rec->cmd, last->cmd) == 0)
|
||||
continue; /* don't display same command twice */
|
||||
|
||||
if ((int)strlen(rec->cmd) >= findlen &&
|
||||
g_strncasecmp(rec->cmd, data, findlen) == 0) {
|
||||
g_ascii_strncasecmp(rec->cmd, data, findlen) == 0) {
|
||||
if (rec->cmd[findlen] == '\0') {
|
||||
fullmatch = TRUE;
|
||||
found = TRUE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue