mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Replace strarray_length with g_strv_length
This commit is contained in:
parent
72712a0c62
commit
7a3c6fe86c
9 changed files with 7 additions and 23 deletions
|
|
@ -178,7 +178,7 @@ static HILIGHT_REC *hilight_find(const char *text, char **channels)
|
|||
if (channels == NULL || rec->channels == NULL)
|
||||
continue; /* other doesn't have channels */
|
||||
|
||||
if (strarray_length(channels) != strarray_length(rec->channels))
|
||||
if (g_strv_length(channels) != g_strv_length(rec->channels))
|
||||
continue; /* different amount of channels */
|
||||
|
||||
/* check that channels match */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue