diff options
Diffstat (limited to 'wildmatch.c')
-rw-r--r-- | wildmatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wildmatch.c b/wildmatch.c index 9e9e2a2f95..7e5a7ea1ea 100644 --- a/wildmatch.c +++ b/wildmatch.c @@ -113,7 +113,7 @@ static int dowild(const uchar *p, const uchar *text, unsigned int flags) /* Trailing "**" matches everything. Trailing "*" matches * only if there are no more slash characters. */ if (!match_slash) { - if (strchr((char*)text, '/') != NULL) + if (strchr((char *)text, '/')) return WM_NOMATCH; } return WM_MATCH; |