diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-08-04 19:49:28 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-08-04 19:49:28 +0000 |
commit | 72386239f604ecf4a184552ba5477827858b7849 (patch) | |
tree | d82f2c9b4ef060ba2eb5acba86e3c322c8660c7f /send.c | |
parent | 27470224f2da816ab10131d8636f78a3230b863b (diff) |
Various fixes; documentation.
Diffstat (limited to 'send.c')
-rw-r--r-- | send.c | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -643,6 +643,7 @@ generate_body (FILE *tempfp, /* stream for outgoing message */ if (i == M_YES) { + mutt_message _("Including quoted message..."); if (!cur) { for (i = 0; i < ctx->vcount; i++) @@ -661,14 +662,17 @@ generate_body (FILE *tempfp, /* stream for outgoing message */ } else include_reply (ctx, cur, tempfp); + } } else if (flags & SENDFORWARD) { - if (query_quadoption (OPT_MIMEFWD, _("Forward MIME encapsulated?"))) + if ((i = query_quadoption (OPT_MIMEFWD, _("Forward MIME encapsulated?"))) == M_YES) { BODY *last = msg->content; + mutt_message _("Preparing forwarded message..."); + while (last && last->next) last = last->next; @@ -698,7 +702,7 @@ generate_body (FILE *tempfp, /* stream for outgoing message */ } } } - else + else if (i != -1) { if (cur) include_forward (ctx, cur, tempfp); @@ -707,6 +711,8 @@ generate_body (FILE *tempfp, /* stream for outgoing message */ if (ctx->hdrs[ctx->v2r[i]]->tagged) include_forward (ctx, ctx->hdrs[ctx->v2r[i]], tempfp); } + else if (i == -1) + return -1; } @@ -723,7 +729,7 @@ generate_body (FILE *tempfp, /* stream for outgoing message */ } #endif - + mutt_clear_error (); return (0); } |