aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nnn.c b/nnn.c
index 31b0e94..76f00ce 100644
--- a/nnn.c
+++ b/nnn.c
@@ -787,7 +787,7 @@ replace_escape(const char *str)
mbstowcs(wbuf, str, PATH_MAX);
while (*buf) {
- if ((*buf >= '\x01' && *buf <= '\x1f') || *buf == '\x7f')
+ if (*buf <= '\x1f' || *buf == '\x7f')
*buf = '\?';
buf++;