aboutsummaryrefslogtreecommitdiffhomepage
path: root/wildcard.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-10-26 15:27:39 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-10-26 15:27:39 -0700
commitcf766b55cca979745f6c218d78f9cdcc297b3f20 (patch)
treed5c31f6aaa56aaa4ac7c967c91d6e822d0f8d27d /wildcard.cpp
parent03c65d7a96c9cadc9feff339ca0af7f43eb7391e (diff)
Fix formatting
Diffstat (limited to 'wildcard.cpp')
-rw-r--r--wildcard.cpp2
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();