diff options
author | Pavel Platto <hinidu@gmail.com> | 2014-06-05 11:23:30 +0300 |
---|---|---|
committer | Pavel Platto <hinidu@gmail.com> | 2014-08-02 09:16:59 +0300 |
commit | e1dd98512f2cf7273da932211b6f47fd03e4c40a (patch) | |
tree | c33f938ac2c2afb0a3b0cae81cfefe2c46cc9dcf /src/nvim/charset.c | |
parent | 2e831e56c7579653ce86014326b88d6a7221b7fb (diff) | |
download | rneovim-e1dd98512f2cf7273da932211b6f47fd03e4c40a.tar.gz rneovim-e1dd98512f2cf7273da932211b6f47fd03e4c40a.tar.bz2 rneovim-e1dd98512f2cf7273da932211b6f47fd03e4c40a.zip |
Remove EBCDIC: Clean up comments
Diffstat (limited to 'src/nvim/charset.c')
-rw-r--r-- | src/nvim/charset.c | 6 |
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; } } |