aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorPavel Platto <hinidu@gmail.com>2014-06-05 11:23:30 +0300
committerPavel Platto <hinidu@gmail.com>2014-08-02 09:16:59 +0300
commite1dd98512f2cf7273da932211b6f47fd03e4c40a (patch)
treec33f938ac2c2afb0a3b0cae81cfefe2c46cc9dcf /src/nvim/getchar.c
parent2e831e56c7579653ce86014326b88d6a7221b7fb (diff)
downloadrneovim-e1dd98512f2cf7273da932211b6f47fd03e4c40a.tar.gz
rneovim-e1dd98512f2cf7273da932211b6f47fd03e4c40a.tar.bz2
rneovim-e1dd98512f2cf7273da932211b6f47fd03e4c40a.zip
Remove EBCDIC: Clean up comments
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 340b31d80a..b4e5b3f5dd 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -543,9 +543,7 @@ AppendToRedobuffLit (
/* Put a string of normal characters in the redo buffer (that's
* faster). */
start = s;
- while (*s >= ' '
- && *s < DEL /* EBCDIC: all chars above space are normal */
- && (len < 0 || s - str < len))
+ while (*s >= ' ' && *s < DEL && (len < 0 || s - str < len))
++s;
/* Don't put '0' or '^' as last character, just in case a CTRL-D is
@@ -567,7 +565,7 @@ AppendToRedobuffLit (
if (c < ' ' || c == DEL || (*s == NUL && (c == '0' || c == '^')))
add_char_buff(&redobuff, Ctrl_V);
- /* CTRL-V '0' must be inserted as CTRL-V 048 (EBCDIC: xf0) */
+ /* CTRL-V '0' must be inserted as CTRL-V 048 */
if (*s == NUL && c == '0')
add_buff(&redobuff, (char_u *)"048", 3L);
else