summaryrefslogtreecommitdiffstats
path: root/copy.c
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2007-03-03 18:47:41 -0800
committerBrendan Cully <brendan@kublai.com>2007-03-03 18:47:41 -0800
commit26b5e1a5232046ebc941a54993ab13904f3af6c2 (patch)
tree59a019013a495833083d5959fa58ae0a41de090e /copy.c
parentdc99b7160c21b0722ec97e01333707f351e21f93 (diff)
Add $wrap, which supersedes $wrapmargin.
When set to a positive number, wrap at that column. When set to a negative number, keep that many characters empty on the right.
Diffstat (limited to 'copy.c')
-rw-r--r--copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/copy.c b/copy.c
index 114b99c4..e459a554 100644
--- a/copy.c
+++ b/copy.c
@@ -281,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, COLS - WrapMargin) == -1)
+ flags & CH_PREFIX ? prefix : 0, mutt_term_width (Wrap)) == -1)
{
error = TRUE;
break;