aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-08-25 15:44:15 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-08-25 15:59:03 +0200
commita3015db6c388d1b62064e10bac77d4abe2a457ef (patch)
tree69cc8702702be9db3f46f204c3f4c16733568580 /src/libutil/util.cc
parent0e9ddcc306f0900fc38472a2c8b9d9aa886b279e (diff)
Typo
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r--src/libutil/util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc
index c2bceea3d..b7b32b3d3 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;