aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/charset.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-08-07 02:20:12 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-08-07 02:20:12 -0400
commitad5ae68acd3b0edae564064dfdc2b5b950d0b4e4 (patch)
tree4e0abd7622a6fd1a832efd9a712d2594f2f464ef /src/nvim/charset.c
parent1fa3a7d70a99127e5dde3fdb9aa19684febb2ac7 (diff)
parent8b72ae7c7875f47b7d775038700ee17ce71a2510 (diff)
downloadrneovim-ad5ae68acd3b0edae564064dfdc2b5b950d0b4e4.tar.gz
rneovim-ad5ae68acd3b0edae564064dfdc2b5b950d0b4e4.tar.bz2
rneovim-ad5ae68acd3b0edae564064dfdc2b5b950d0b4e4.zip
Merge #814 'Remove dead #ifdefed code'
Diffstat (limited to 'src/nvim/charset.c')
-rw-r--r--src/nvim/charset.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c
index 3e1e7c1870..baf6895b4c 100644
--- a/src/nvim/charset.c
+++ b/src/nvim/charset.c
@@ -89,9 +89,6 @@ int buf_init_chartab(buf_T *buf, int global)
// Set the default size for printable characters:
// From <Space> to '~' is 1 (printable), others are 2 (not printable).
// This also inits all 'isident' and 'isfname' flags to FALSE.
- //
- // EBCDIC: all chars below ' ' are not printable, all others are
- // printable.
c = 0;
while (c < ' ') {
@@ -583,11 +580,8 @@ void transchar_nonprint(char_u *buf, int c)
buf[2] = NUL;
} else {
// 0x80 - 0x9f and 0xff
- // TODO: EBCDIC I don't know what to do with this chars, so I display
- // them as '~?' for now
buf[0] = '~';
buf[1] = (c - 0x80) ^ 0x40;
- // 0xff displayed as ~?
buf[2] = NUL;
}
}