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

When attaching a non-existing file via --attach
This commit is contained in:
Ricardo Mones 2014-05-29 01:11:39 +02:00
parent 78965aa3b7
commit 0fff967430

View file

@ -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);
}
}