From baa6a40d6f7502787a0af8fe57a69659ea6ceac4 Mon Sep 17 00:00:00 2001 From: liljencrantz Date: Sun, 28 Oct 2007 19:06:05 +1000 Subject: Fix completion bug - case insensitive competions of command names sometimes got the path prepended to them darcs-hash:20071028090605-75c98-b623c6bf3f5a5144cdecaf0c005d4acb980e33f1.gz --- wildcard.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'wildcard.c') diff --git a/wildcard.c b/wildcard.c index a2cf09b0..9456b85f 100644 --- a/wildcard.c +++ b/wildcard.c @@ -1144,8 +1144,7 @@ int wildcard_expand( const wchar_t *wc, int c = al_get_count( out ); int res = wildcard_expand_internal( wc, base_dir, flags, out ); int i; - - + if( flags & ACCEPT_INCOMPLETE ) { wchar_t *wc_base=L""; -- cgit v1.2.3