summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-01-31 14:59:41 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-31 14:59:41 +0000
commit424bcae1fb0f69e0aef5e0cf84fd771cf34a0fb7 (patch)
tree2841d6e3702a563627a400fa10a284b73a817436 /src/gui.c
parenteb6c2765959c91ddbb527f96f91ba5be199b8d41 (diff)
downloadvim-git-424bcae1fb0f69e0aef5e0cf84fd771cf34a0fb7.tar.gz
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/gui.c')
-rw-r--r--src/gui.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/gui.c b/src/gui.c
index 403272186..0cce1f111 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -1835,7 +1835,7 @@ gui_clear_block(
void
gui_update_cursor_later(void)
{
- OUT_STR(IF_EB("\033|s", ESC_STR "|s"));
+ OUT_STR("\033|s");
}
void
@@ -1962,12 +1962,7 @@ gui_write(
len -= (int)(++p - s);
s = p;
}
- else if (
-#ifdef EBCDIC
- CtrlChar(s[0]) != 0 // Ctrl character
-#else
- s[0] < 0x20 // Ctrl character
-#endif
+ else if (s[0] < 0x20 // Ctrl character
#ifdef FEAT_SIGN_ICONS
&& s[0] != SIGN_BYTE
# ifdef FEAT_NETBEANS_INTG
@@ -2010,11 +2005,7 @@ gui_write(
{
p = s;
while (len > 0 && (
-#ifdef EBCDIC
- CtrlChar(*p) == 0
-#else
*p >= 0x20
-#endif
#ifdef FEAT_SIGN_ICONS
|| *p == SIGN_BYTE
# ifdef FEAT_NETBEANS_INTG