aboutsummaryrefslogtreecommitdiffhomepage
path: root/wildcard.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-10-15 18:16:47 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-10-15 18:16:47 -0700
commit833abc27cc8653d92c4d275c042f35ced0ea3f94 (patch)
tree98b6af707453a688e6c4dbb258eca2f219ddfbf7 /wildcard.h
parent3d5a3f03fa160edd0423ab6e8e93ba43c56b97a8 (diff)
Make wildcards beginning with dots not match . and ..
Diffstat (limited to 'wildcard.h')
-rw-r--r--wildcard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wildcard.h b/wildcard.h
index 40830f0c..9380375c 100644
--- a/wildcard.h
+++ b/wildcard.h
@@ -75,7 +75,7 @@ int wildcard_expand_string(const wcstring &wc, const wcstring &base_dir, expand_
\param wc The wildcard to test against
\return true if the wildcard matched
*/
-int wildcard_match( const wcstring &str, const wcstring &wc );
+bool wildcard_match( const wcstring &str, const wcstring &wc );
/**