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.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/chinese/tin/files/patch-cook.c b/chinese/tin/files/patch-cook.c
index 7584b8b4cd65..2a554fae80f5 100644
--- a/chinese/tin/files/patch-cook.c
+++ b/chinese/tin/files/patch-cook.c
@@ -1,5 +1,5 @@
---- src/cook.c.orig Sat Sep 23 14:34:20 2000
-+++ src/cook.c Sat Sep 23 14:34:41 2000
+--- src/cook.c.orig Mon Feb 19 22:59:13 2001
++++ src/cook.c Mon Apr 30 02:57:21 2001
@@ -109,7 +109,7 @@
while (i++ < j)
*q++ = ' ';
@@ -9,3 +9,11 @@
*q++ = '^';
*q++ = ((*p) & 0xFF) + '@';
if (*p == '\f') /* ^L detected */
+@@ -147,6 +147,7 @@
+ vsnprintf (buf, sizeof(buf) - 1, fmt, ap);
+
+ bufp = buf;
++ wrap_lines = FALSE;
+
+ for (p = bufp; *p; p++) {
+ if (*p == '\n' || ((overflow + p - bufp >= cCOLS) && wrap_lines)) {