summaryrefslogtreecommitdiff
path: root/src/mask.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mask.cc')
-rw-r--r--src/mask.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mask.cc b/src/mask.cc
index cd516fe2..52907cfe 100644
--- a/src/mask.cc
+++ b/src/mask.cc
@@ -66,17 +66,17 @@ mask_t& mask_t::assign_glob(const string& pat)
break;
case '[':
while (i < len && pat[i] != ']')
- re_pat += pat[i++];
+ re_pat += pat[i++];
if (i < len)
- re_pat += pat[i];
+ re_pat += pat[i];
break;
case '\\':
if (i + 1 < len) {
- re_pat += pat[++i];
- break;
+ re_pat += pat[++i];
+ break;
} else {
- // fallthrough...
+ // fallthrough...
}
default:
re_pat += pat[i];