From aa895c67409acf6ee328d846a5799a1a4100ce04 Mon Sep 17 00:00:00 2001 From: axel Date: Fri, 28 Jul 2006 23:52:03 +1000 Subject: [PATCH] Fix minor bug causing spurious warnings on commandline. Thanks to Netocrat for the bugreport. darcs-hash:20060728135203-ac50b-07471a032a389a26789ee871bf0dc25c6a91bd7a.gz --- highlight.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/highlight.c b/highlight.c index a6178313e..518102dbc 100644 --- a/highlight.c +++ b/highlight.c @@ -32,6 +32,7 @@ #include "output.h" #include "halloc.h" #include "halloc_util.h" +#include "wildcard.h" /** Number of elements in the highlight_var array @@ -102,6 +103,9 @@ static int is_potential_path( const wchar_t *path ) case BRACKET_BEGIN: case BRACKET_END: case BRACKET_SEP: + case ANY_CHAR: + case ANY_STRING: + case ANY_STRING_RECURSIVE: { has_magic = 1; break;