diff options
Diffstat (limited to 'common/yesno.c')
-rw-r--r-- | common/yesno.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/yesno.c b/common/yesno.c index fdbf7ddd1..a7131b7d5 100644 --- a/common/yesno.c +++ b/common/yesno.c @@ -24,8 +24,12 @@ #include "i18n.h" #include "util.h" + +/* Check the string S for a YES or NO answer and take care of + localization. If no valid string is given the value of DEF_ANSWER + is returned. Returns 1 for yes and 0 for no. */ int -answer_is_yes_no_default( const char *s, int def_answer ) +answer_is_yes_no_default (const char *s, int def_answer) { /* TRANSLATORS: See doc/TRANSLATE about this string. */ const char *long_yes = _("yes"); |