diff options
author | Werner Koch <[email protected]> | 2000-09-18 14:35:34 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2000-09-18 14:35:34 +0000 |
commit | 986d928ce2a561b04fda7730de6a94f9b1e703d6 (patch) | |
tree | 9d815bcf427ee76f678153f4b000d8843816a2bd /util/miscutil.c | |
parent | See ChangeLog: Tue Aug 22 14:31:15 CEST 2000 Werner Koch (diff) | |
download | gnupg-986d928ce2a561b04fda7730de6a94f9b1e703d6.tar.gz gnupg-986d928ce2a561b04fda7730de6a94f9b1e703d6.zip |
See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner Koch
Diffstat (limited to 'util/miscutil.c')
-rw-r--r-- | util/miscutil.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/miscutil.c b/util/miscutil.c index c1b8fa076..9b4a8379f 100644 --- a/util/miscutil.c +++ b/util/miscutil.c @@ -311,16 +311,16 @@ answer_is_yes_no_quit( const char *s ) char *short_no = _("nN"); char *short_quit = _("qQ"); - if( !stricmp(s, long_yes ) ) - return 1; if( !stricmp(s, long_no ) ) return 0; + if( !stricmp(s, long_yes ) ) + return 1; if( !stricmp(s, long_quit ) ) return -1; - if( strchr( short_yes, *s ) && !s[1] ) - return 1; if( strchr( short_no, *s ) && !s[1] ) return 0; + if( strchr( short_yes, *s ) && !s[1] ) + return 1; if( strchr( short_quit, *s ) && !s[1] ) return -1; if( !stricmp(s, "yes" ) ) |