summaryrefslogtreecommitdiff
path: root/japanese/kterm/files/patch-charproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/kterm/files/patch-charproc.c')
-rw-r--r--japanese/kterm/files/patch-charproc.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/japanese/kterm/files/patch-charproc.c b/japanese/kterm/files/patch-charproc.c
new file mode 100644
index 000000000000..a37725781bb9
--- /dev/null
+++ b/japanese/kterm/files/patch-charproc.c
@@ -0,0 +1,26 @@
+--- charproc.c.orig Tue Jul 2 04:34:14 2002
++++ charproc.c Tue Jul 2 04:34:29 2002
+@@ -102,8 +102,8 @@
+ extern XtAppContext app_con;
+ extern Widget toplevel;
+ extern void exit();
+-extern char *malloc();
+-extern char *realloc();
++extern void *malloc();
++extern void *realloc();
+ extern fd_set Select_mask;
+ extern fd_set X_mask;
+ extern fd_set pty_mask;
+@@ -1837,6 +1837,12 @@
+ parsestate = groundtable;
+ break;
+
++ case CASE_ECH:
++ /* ECH */
++ ClearRightN(screen, param[0] < 1 ? 1 : param[0]);
++ parsestate = groundtable;
++ break;
++
+ case CASE_IL:
+ /* IL */
+ if((row = param[0]) < 1)