~ubuntu-branches/debian/stretch/debfoster/stretch

« back to all changes in this revision

Viewing changes to src/debfoster.c

  • Committer: Package Import Robot
  • Author(s): Andreas Barth
  • Date: 2014-08-17 09:37:08 UTC
  • Revision ID: package-import@ubuntu.com-20140817093708-7eh0d1x48z5yyrlp
Tags: 2.7-2
* update config.sub/guess. Closes: #533685
* ask before quit. Closes: #484866
* po/it.po: new Italian translation (Beatrice Torracca). Closes: #687842

Show diffs side-by-side

added added

removed removed

Lines of Context:
924
924
                                                AVLFreeNodes(orphans);
925
925
                                        break;
926
926
                                        case 7: /* q */
927
 
                                                closekeepers();
928
 
                                                return 0;
 
927
                        switch((i = tty_ask(_("ny"), _("Exit without saving? [yN?]: ")))) {
 
928
                            case 0: /* n */
 
929
                                i = -1;
 
930
                                break;
 
931
                            case 1: /* y */
 
932
                                closekeepers();
 
933
                                return 0;
 
934
                        }
929
935
                                        case 8: /* x */
930
936
                                                AVLFreeNodes(orphans);
931
937
                                        break;