diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-31 14:59:41 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-31 14:59:41 +0000 |
commit | 424bcae1fb0f69e0aef5e0cf84fd771cf34a0fb7 (patch) | |
tree | 2841d6e3702a563627a400fa10a284b73a817436 /src/help.c | |
parent | eb6c2765959c91ddbb527f96f91ba5be199b8d41 (diff) |
patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
Diffstat (limited to 'src/help.c')
-rw-r--r-- | src/help.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/help.c b/src/help.c index 16fbafc061..661d5b5c3c 100644 --- a/src/help.c +++ b/src/help.c @@ -481,11 +481,7 @@ find_help_tags( d += 5; if (*s < ' ') { -#ifdef EBCDIC - *d++ = CtrlChar(*s); -#else *d++ = *s + '@'; -#endif if (d[-1] == '\\') *d++ = '\\'; // double a backslash } @@ -651,12 +647,7 @@ prepare_help_buffer(void) // Accept all ASCII chars for keywords, except ' ', '*', '"', '|', and // latin1 word characters (for translated help files). // Only set it when needed, buf_init_chartab() is some work. - p = -#ifdef EBCDIC - (char_u *)"65-255,^*,^|,^\""; -#else - (char_u *)"!-~,^*,^|,^\",192-255"; -#endif + p = (char_u *)"!-~,^*,^|,^\",192-255"; if (STRCMP(curbuf->b_p_isk, p) != 0) { set_string_option_direct((char_u *)"isk", -1, p, OPT_FREE|OPT_LOCAL, 0); |