diff options
author | Jari Matilainen <jari.matilainen@gmail.com> | 2016-03-11 09:12:38 +0100 |
---|---|---|
committer | Jari Matilainen <jari.matilainen@gmail.com> | 2016-03-14 22:29:36 +0100 |
commit | 94b823c3cd410abb2fa54ecbcf298550d5e2ba88 (patch) | |
tree | 67f3e2285eb6261a2a65df17a4463a266d672cd2 /src/core/misc.h | |
parent | 66e9c4bb39ed5c0b2d9b81e8610e894af82abd8e (diff) | |
download | irssi-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/core/misc.h')
-rw-r--r-- | src/core/misc.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |