diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-08-25T13·44+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-08-25T13·59+0200 |
commit | a3015db6c388d1b62064e10bac77d4abe2a457ef (patch) | |
tree | 69cc8702702be9db3f46f204c3f4c16733568580 /src/libutil | |
parent | 0e9ddcc306f0900fc38472a2c8b9d9aa886b279e (diff) |
Typo
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc index c2bceea3d9d0..b7b32b3d384e 100644 --- a/src/libutil/util.cc +++ b/src/libutil/util.cc @@ -1171,7 +1171,7 @@ string filterANSIEscapes(const string & s, bool nixOnly) } } else { r += c; - if (c >= 0x40 && c != 0x7e) { + if (c >= 0x40 && c <= 0x7e) { if (nixOnly && (c != 'p' && c != 'q' && c != 's' && c != 'a' && c != 'b')) t += r; state = stTop; |