Fix minor bug causing spurious warnings on commandline. Thanks to Netocrat for the bugreport.

darcs-hash:20060728135203-ac50b-07471a032a389a26789ee871bf0dc25c6a91bd7a.gz
This commit is contained in:
axel 2006-07-28 23:52:03 +10:00
parent 8e06805f2d
commit aa895c6740

View file

@ -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;