From 94b823c3cd410abb2fa54ecbcf298550d5e2ba88 Mon Sep 17 00:00:00 2001 From: Jari Matilainen Date: Fri, 11 Mar 2016 09:12:38 +0100 Subject: Use glob matching for activity_hide_targets spaces vs tabs! strarray_find* needs to return -1 if no index found --- src/core/misc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/misc.h') diff --git a/src/core/misc.h b/src/core/misc.h index 7e78d3b9..dd8bb14c 100644 --- a/src/core/misc.h +++ b/src/core/misc.h @@ -111,6 +111,7 @@ char *replace_chars(char *str, char from, char to); int strarray_length(char **array); /* return index of `item' in `array' or -1 if not found */ int strarray_find(char **array, const char *item); +int strarray_find_glob(char **array, const char *item); /* string -> uoff_t */ uoff_t str_to_uofft(const char *str); -- cgit v1.2.3