summaryrefslogtreecommitdiffstats
path: root/src/charset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/charset.c')
-rw-r--r--src/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c
index 836a9f6ecf..657ab85f4d 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -558,7 +558,7 @@ transchar_nonprint(buf_T *buf, char_u *charbuf, int c)
charbuf[1] = c ^ 0x40; // DEL displayed as ^?
charbuf[2] = NUL;
}
- else if (enc_utf8 && c >= 0x80)
+ else if (enc_utf8)
{
transchar_hex(charbuf, c);
}