Changeset 4244:42d38e8415f0 for attach.c

Show
Ignore:
Timestamp:
2005-09-03 16:22:30 (3 years ago)
Author:
Brendan Cully <brendan@…>
Branch:
HEAD
Message:

Note when mutt_edit_attachment fails and display error instead of prompting
to abort an unmodified file. Closes: #2051.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • attach.c

    r4212 r4244  
    257257        /* For now, editing requires a file, no piping */ 
    258258        mutt_error _("Mailcap Edit entry requires %%s"); 
     259        goto bailout; 
    259260      } 
    260261      else 
     
    262263        mutt_endwin (NULL); 
    263264        if (mutt_system (command) == -1) 
     265        { 
    264266          mutt_error (_("Error running \"%s\"!"), command); 
     267          goto bailout; 
     268        } 
    265269      } 
    266270    }