diff options
author | obrien <obrien@FreeBSD.org> | 1999-09-07 06:14:00 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-09-07 06:14:00 +0000 |
commit | 8f5fb4a3098bcce6fce275a5f8dc23cd8e91de65 (patch) | |
tree | 04c4decdc8fc45369a0f852082972d40a19f30e9 /mail/mutt14/files | |
parent | dc95f03b6203ab5c592ca5451fd5eca609010678 (diff) | |
download | FreeBSD-ports-8f5fb4a3098bcce6fce275a5f8dc23cd8e91de65.zip FreeBSD-ports-8f5fb4a3098bcce6fce275a5f8dc23cd8e91de65.tar.gz |
Upgrade to 1.0 release candidate 2.
Diffstat (limited to 'mail/mutt14/files')
-rw-r--r-- | mail/mutt14/files/patch-05 | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/mail/mutt14/files/patch-05 b/mail/mutt14/files/patch-05 index 01e1c45..0c8e4da 100644 --- a/mail/mutt14/files/patch-05 +++ b/mail/mutt14/files/patch-05 @@ -1,33 +1,5 @@ --- curs_lib.c.orig Thu Jan 14 14:29:17 1999 +++ curs_lib.c Thu Feb 18 20:58:46 1999 -@@ -132,8 +132,8 @@ - int mutt_yesorno (const char *msg, int def) - { - event_t ch; -- char *yes = _("yes"); -- char *no = _("no"); -+ unsigned char *yes = _("yes"); -+ unsigned char *no = _("no"); - - CLEARLINE(LINES-1); - printw("%s ([%c]/%c): ", msg, def ? *yes : *no, -@@ -155,6 +155,16 @@ - def = 0; - break; - } -+ else if (tolower(ch.ch) == 'y') -+ { -+ def = 1; -+ break; -+ } -+ else if (tolower(ch.ch) == 'n') -+ { -+ def = 0; -+ break; -+ } - else - { - BEEP(); @@ -408,8 +418,9 @@ { event_t ch; |