Fix “File (null) doesn't exist” error dialog
When attaching a non-existing file via --attach
This commit is contained in:
parent
78965aa3b7
commit
0fff967430
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue