diff options
author | 2013-10-26 15:27:39 -0700 | |
---|---|---|
committer | 2013-10-26 15:27:39 -0700 | |
commit | cf766b55cca979745f6c218d78f9cdcc297b3f20 (patch) | |
tree | d5c31f6aaa56aaa4ac7c967c91d6e822d0f8d27d /wildcard.cpp | |
parent | 03c65d7a96c9cadc9feff339ca0af7f43eb7391e (diff) |
Fix formatting
Diffstat (limited to 'wildcard.cpp')
-rw-r--r-- | wildcard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |