From e57d2a86300b86799aa86f8172dfc0bae5db9bb4 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 5 Aug 2009 11:24:43 +0000 Subject: Ask for the keysize when generating a new card key. --- common/yesno.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'common/yesno.c') 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"); -- cgit v1.2.3