1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/mail/mutt/files/patch-05
Chris Rees bb040dde3e Move mail/mutt to mail/mutt14
Move mail/mutt-lite to mail/mutt14-lite

Move mail/mutt-devel to mail/mutt

Moving mail/mutt-devel-lite to mail/mutt-lite will follow next to avoid
breaking the cvs exporter

PR:		ports/169546
Suggested by:	obrien
Approved by:	maintainer
2012-07-22 09:15:04 +00:00

44 lines
726 B
Plaintext

--- curs_lib.c.old Wed Sep 1 19:39:20 1999
+++ curs_lib.c Sun Sep 26 23:47:03 1999
@@ -156,6 +156,16 @@
def = 0;
break;
}
+ else if (tolower(ch.ch) == 'y')
+ {
+ def = 1;
+ break;
+ }
+ else if (tolower(ch.ch) == 'n')
+ {
+ def = 0;
+ break;
+ }
else
{
BEEP();
@@ -413,8 +423,9 @@
{
event_t ch;
int choice;
- char *p;
+ char *p, *nletters;
+ nletters = _(letters);
mvaddstr (LINES - 1, 0, prompt);
clrtoeol ();
FOREVER
@@ -428,6 +439,12 @@
}
else
{
+ p = strchr (nletters, ch.ch);
+ if (p)
+ {
+ choice = p - nletters + 1;
+ break;
+ }
p = strchr (letters, ch.ch);
if (p)
{