summaryrefslogtreecommitdiffstats
path: root/copy.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2007-01-09 10:29:09 +0000
committerThomas Roessler <roessler@does-not-exist.org>2007-01-09 10:29:09 +0000
commit2f53c22bbf5f0d0c944f8e7902b112af18a17b46 (patch)
treed3f0770debcef588d2f3b989164a681b7f5ef2cc /copy.c
parentbbe8bea9c3342e3468f2a0955baf68b55b306955 (diff)
Smarter header wrapping -- different behavior for display
purposes and sent messages.
Diffstat (limited to 'copy.c')
-rw-r--r--copy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/copy.c b/copy.c
index 68cfcae1..114b99c4 100644
--- a/copy.c
+++ b/copy.c
@@ -28,6 +28,7 @@
#include "mime.h"
#include "mutt_crypt.h"
#include "mutt_idna.h"
+#include "mutt_curses.h"
#include <string.h>
#include <stdlib.h>
@@ -280,7 +281,7 @@ mutt_copy_hdr (FILE *in, FILE *out, LOFF_T off_start, LOFF_T off_end, int flags,
if (flags & (CH_DECODE|CH_PREFIX))
{
if (mutt_write_one_header (out, 0, headers[x],
- flags & CH_PREFIX ? prefix : 0) == -1)
+ flags & CH_PREFIX ? prefix : 0, COLS - WrapMargin) == -1)
{
error = TRUE;
break;