From cf766b55cca979745f6c218d78f9cdcc297b3f20 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 26 Oct 2013 15:27:39 -0700 Subject: Fix formatting --- wildcard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wildcard.cpp') diff --git a/wildcard.cpp b/wildcard.cpp index 621ece72..2b93561b 100644 --- a/wildcard.cpp +++ b/wildcard.cpp @@ -317,7 +317,7 @@ static bool wildcard_complete_internal(const wcstring &orig, if (wildcard_complete_internal(orig, str + i, wc+1, false, desc, desc_func, out, expand_flags, flags)) { res = true; - + /* #929: if the recursive call gives us a prefix match, just stop. This is sloppy - what we really want to do is say, once we've seen a match of a particular type, ignore all matches of that type further down the string, such that the wildcard produces the "minimal match." */ bool has_prefix_match = false; const size_t after_count = out.size(); -- cgit v1.2.3