~ubuntu-branches/ubuntu/raring/gnupg2/raring-proposed

« back to all changes in this revision

Viewing changes to common/yesno.c

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-09-07 20:38:23 UTC
  • mfrom: (1.1.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20090907203823-d7hsk7lnfqoc4yom
Tags: 2.0.13-1
* New upstream release.
* debian/control: Depend instead of Recommend gnupg-agent. (Closes:
  #538947)

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include "i18n.h"
25
25
#include "util.h"
26
26
 
 
27
 
 
28
/* Check the string S for a YES or NO answer and take care of
 
29
   localization.  If no valid string is given the value of DEF_ANSWER
 
30
   is returned.  Returns 1 for yes and 0 for no.  */
27
31
int
28
 
answer_is_yes_no_default( const char *s, int def_answer )
 
32
answer_is_yes_no_default (const char *s, int def_answer)
29
33
{
30
34
  /* TRANSLATORS: See doc/TRANSLATE about this string. */
31
35
  const char *long_yes = _("yes");