summaryrefslogtreecommitdiff
path: root/src/fe-common/core
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2016-02-13 14:16:05 +0100
committerLemonBoy <thatlemon@gmail.com>2016-06-05 16:24:55 +0200
commit7a3c6fe86ca55b4ef69b11443b87359b333bc20b (patch)
tree874a7932dec12dcf6e39d98e83f71656513778a2 /src/fe-common/core
parent72712a0c62b0403f0fa472ccbe34fda8fb2cd530 (diff)
downloadirssi-7a3c6fe86ca55b4ef69b11443b87359b333bc20b.zip
Replace strarray_length with g_strv_length
Diffstat (limited to 'src/fe-common/core')
-rw-r--r--src/fe-common/core/hilight-text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/hilight-text.c b/src/fe-common/core/hilight-text.c
index 36e1e78c..4691a708 100644
--- a/src/fe-common/core/hilight-text.c
+++ b/src/fe-common/core/hilight-text.c
@@ -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 */