Changeset 3253:26daff844f0a for attach.c

Show
Ignore:
Timestamp:
2003-01-05 13:59:59 (6 years ago)
Author:
Armin Wolfermann <aw@…>
Branch:
HEAD
Message:

Fix a number of invocations of mutt_yesorno(): Always explicitly use
the M_YES and M_NO constants. Fixes a couple of cases in which C-g
would be mis-interpreted.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • attach.c

    r3179 r3253  
    113113        if (safe_symlink (a->filename, newfile) == -1) 
    114114        { 
    115           if (!mutt_yesorno (_("Can't match nametemplate, continue?"), 1)) 
     115          if (mutt_yesorno (_("Can't match nametemplate, continue?"), M_YES) != M_YES) 
    116116            goto bailout; 
    117117        } 
     
    240240        if (safe_symlink (a->filename, newfile) == -1) 
    241241        { 
    242           if (!mutt_yesorno (_("Can't match nametemplate, continue?"), 1)) 
     242          if (mutt_yesorno (_("Can't match nametemplate, continue?"), M_YES) != M_YES) 
    243243            goto bailout; 
    244244        } 
     
    469469        if (safe_symlink (a->filename, tempfile) == -1) 
    470470        { 
    471           if (mutt_yesorno (_("Can't match nametemplate, continue?"), 1) == M_YES) 
     471          if (mutt_yesorno (_("Can't match nametemplate, continue?"), M_YES) == M_YES) 
    472472            strfcpy (tempfile, a->filename, sizeof (tempfile)); 
    473473          else 
     
    959959        if (safe_symlink(a->filename, newfile) == -1) 
    960960        { 
    961           if (mutt_yesorno (_("Can't match nametemplate, continue?"), 1) != M_YES) 
     961          if (mutt_yesorno (_("Can't match nametemplate, continue?"), M_YES) != M_YES) 
    962962          { 
    963963            rfc1524_free_entry (&entry);