Remove EBCDIC: Clean up comments

This commit is contained in:
Pavel Platto
2014-06-05 11:23:30 +03:00
parent 2e831e56c7
commit e1dd98512f
7 changed files with 5 additions and 25 deletions

View File

@@ -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