aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/tin/files/patch-cook.c
blob: 7584b8b4cd659313b6f64d124df39244e4e0e215 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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 */