diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-13 00:42:25 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-13 00:42:25 -0400 |
commit | 40f553228f5a28034c6635fdcb4c86af28a385ed (patch) | |
tree | 2c40305c9f9841a4c3d453a4a5c49ec69056b4b2 /src/mask.cc | |
parent | 556211e623cad88213e5087b5c9c36e754d9aa02 (diff) | |
parent | b1b4e2aadff5983d443d70c09ea86a41b015873f (diff) | |
download | fork-ledger-40f553228f5a28034c6635fdcb4c86af28a385ed.tar.gz fork-ledger-40f553228f5a28034c6635fdcb4c86af28a385ed.tar.bz2 fork-ledger-40f553228f5a28034c6635fdcb4c86af28a385ed.zip |
Merge branch 'next'
Diffstat (limited to 'src/mask.cc')
-rw-r--r-- | src/mask.cc | 10 |
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]; |