Changeset 4131:287b90895158 for compose.c
Legend:
- Unmodified
- Added
- Removed
-
compose.c
r4118 r4131 687 687 char *att = files[i]; 688 688 idx[idxlen] = (ATTACHPTR *) safe_calloc (1, sizeof (ATTACHPTR)); 689 idx[idxlen]->unowned = 1; 689 690 idx[idxlen]->content = mutt_make_file_attach (att); 690 691 if (idx[idxlen]->content != NULL) … … 815 816 case OP_DELETE: 816 817 CHECK_COUNT; 817 idx[menu->current]->content->unlink = 0; 818 if (idx[menu->current]->unowned) 819 idx[menu->current]->content->unlink = 0; 818 820 if (delete_attachment (menu, &idxlen, menu->current) == -1) 819 821 break;
