summaryrefslogtreecommitdiff
path: root/src/fe-common/core
diff options
context:
space:
mode:
authorJari Matilainen <jari.matilainen@gmail.com>2016-03-11 09:12:38 +0100
committerJari Matilainen <jari.matilainen@gmail.com>2016-03-14 22:29:36 +0100
commit94b823c3cd410abb2fa54ecbcf298550d5e2ba88 (patch)
tree67f3e2285eb6261a2a65df17a4463a266d672cd2 /src/fe-common/core
parent66e9c4bb39ed5c0b2d9b81e8610e894af82abd8e (diff)
downloadirssi-94b823c3cd410abb2fa54ecbcf298550d5e2ba88.zip
Use glob matching for activity_hide_targets
spaces vs tabs! strarray_find* needs to return -1 if no index found
Diffstat (limited to 'src/fe-common/core')
-rw-r--r--src/fe-common/core/fe-common-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/fe-common-core.c b/src/fe-common/core/fe-common-core.c
index ee7f9424..f0549358 100644
--- a/src/fe-common/core/fe-common-core.c
+++ b/src/fe-common/core/fe-common-core.c
@@ -464,7 +464,7 @@ gboolean strarray_find_dest(char **array, const TEXT_DEST_REC *dest)
if (dest->server_tag != NULL) {
char *tagtarget = g_strdup_printf("%s/%s", dest->server_tag, dest->target);
- int ret = strarray_find(array, tagtarget);
+ int ret = strarray_find_glob(array, tagtarget);
g_free(tagtarget);
if (ret != -1)
return TRUE;