diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-22 09:25:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-22 09:25:04 -0700 |
commit | c718cb2a4a204627d6c2a9cfb1ac8e88c15a198b (patch) | |
tree | 40df41430cef8c6a71ee50e4f8ca6af89cdd8360 | |
parent | 823786d263fc88ef9343d56970044be17b6dd755 (diff) | |
download | uemacs-c718cb2a4a204627d6c2a9cfb1ac8e88c15a198b.tar.gz |
Show xA0 (nbsp) as a non-printable character
I want to see the difference between space and nbsp, and I consider nbsp
to be a control character, so show it as such. Even if it is
technically "printable".
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | display.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -194,7 +194,7 @@ static void vtputc(unsigned char c) return; } - if (c >= 0x80 && c < 0xA0) { + if (c >= 0x80 && c <= 0xA0) { static const char hex[] = "0123456789abcdef"; vtputc('\\'); vtputc(hex[c >> 4]); |