diff options
Diffstat (limited to 'mail/mutt/files/patch-curs_lib.c')
-rw-r--r-- | mail/mutt/files/patch-curs_lib.c | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/mail/mutt/files/patch-curs_lib.c b/mail/mutt/files/patch-curs_lib.c new file mode 100644 index 000000000000..bfbb5aa3ab9b --- /dev/null +++ b/mail/mutt/files/patch-curs_lib.c @@ -0,0 +1,43 @@ +--- 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) + { |