talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 0fff9674302458e517e66fbb46f74e7f3ac37b62
parent 78965aa3b773324d9c1102d686e533379debd149
Author: Ricardo Mones <ricardo@mones.org>
Date:   Thu, 29 May 2014 01:11:39 +0200

Fix “File (null) doesn't exist” error dialog

When attaching a non-existing file via --attach

Diffstat:
Msrc/compose.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compose.c b/src/compose.c @@ -1206,7 +1206,7 @@ Compose *compose_generic_new(PrefsAccount *account, const gchar *mailto, FolderI for (curr = attach_files ; curr != NULL ; curr = curr->next) { ainfo = (AttachInfo *) curr->data; - compose_attach_append(compose, ainfo->file, ainfo->name, + compose_attach_append(compose, ainfo->file, ainfo->file, ainfo->content_type, ainfo->charset); } }