commit 1a25c3d8e2868e34a2c5f63d63958f4030dbb207
parent 4e679846fdb066e5d764fdee3bf0ea7c195b2d00
Author: Paul <paul@claws-mail.org>
Date: Sun, 21 Apr 2019 11:44:00 +0100
fix bug 4167, 'Max line length exceeded when forwarding mail'
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/compose.c b/src/compose.c
@@ -1,6 +1,6 @@
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2018 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2019 the Claws Mail team and Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -6469,7 +6469,7 @@ static int compose_add_attachments(Compose *compose, MimeInfo *parent)
if (mimepart->type == MIMETYPE_MESSAGE
|| mimepart->type == MIMETYPE_MULTIPART)
ainfo->encoding = ENC_BINARY;
- else if (compose->use_signing) {
+ else if (compose->use_signing || compose->fwdinfo != NULL) {
if (ainfo->encoding == ENC_7BIT)
ainfo->encoding = ENC_QUOTED_PRINTABLE;
else if (ainfo->encoding == ENC_8BIT)