aboutsummaryrefslogtreecommitdiff
path: root/chinese/tin/files/patch-cook.c
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/tin/files/patch-cook.c')
-rw-r--r--chinese/tin/files/patch-cook.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/chinese/tin/files/patch-cook.c b/chinese/tin/files/patch-cook.c
new file mode 100644
index 000000000000..7584b8b4cd65
--- /dev/null
+++ b/chinese/tin/files/patch-cook.c
@@ -0,0 +1,11 @@
+--- src/cook.c.orig Sat Sep 23 14:34:20 2000
++++ src/cook.c Sat Sep 23 14:34:41 2000
+@@ -109,7 +109,7 @@
+ while (i++ < j)
+ *q++ = ' ';
+
+- } else if (((*p) & 0xFF) < ' ' && *p != '\n') { /* Literal ctrl chars */
++ } else if (((*p) & 0xFF) < ' ' && *p != '\n' && *p != 27) { /* Literal ctrl chars */
+ *q++ = '^';
+ *q++ = ((*p) & 0xFF) + '@';
+ if (*p == '\f') /* ^L detected */