diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2007-01-09 10:29:09 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2007-01-09 10:29:09 +0000 |
commit | 2f53c22bbf5f0d0c944f8e7902b112af18a17b46 (patch) | |
tree | d3f0770debcef588d2f3b989164a681b7f5ef2cc /copy.c | |
parent | bbe8bea9c3342e3468f2a0955baf68b55b306955 (diff) |
Smarter header wrapping -- different behavior for display
purposes and sent messages.
Diffstat (limited to 'copy.c')
-rw-r--r-- | copy.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |