summaryrefslogtreecommitdiff
path: root/mail/mutt14/files/patch-05
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-02-13 20:15:12 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-02-13 20:15:12 +0000
commit9233d4a797ffdfdc4a742ad6423fda2a1cd884aa (patch)
treeb7fc965b560c750ae70693d44328fc8c0242cd98 /mail/mutt14/files/patch-05
parentupdate to 0.5 (diff)
* fix support for Russan language - there is a sign extension bug in new
version and lack of english responce fallback * when installing in the face of certain environmental vars, manual.latin1 does not get installed Submitted by: ache Ok'ed by: Satoshi
Notes
Notes: svn path=/head/; revision=16720
Diffstat (limited to 'mail/mutt14/files/patch-05')
-rw-r--r--mail/mutt14/files/patch-0528
1 files changed, 28 insertions, 0 deletions
diff --git a/mail/mutt14/files/patch-05 b/mail/mutt14/files/patch-05
new file mode 100644
index 000000000000..5cb212c146ba
--- /dev/null
+++ b/mail/mutt14/files/patch-05
@@ -0,0 +1,28 @@
+--- curs_lib.c.bak Thu Jan 14 14:29:17 1999
++++ curs_lib.c Sat Feb 13 20:14:02 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,
+@@ -145,12 +145,12 @@
+ if (ch.ch == -1) return(-1);
+ if (CI_is_return (ch.ch))
+ break;
+- else if (tolower(ch.ch) == tolower(*yes))
++ else if (tolower(ch.ch) == tolower(*yes) || tolower(ch.ch) == 'y')
+ {
+ def = 1;
+ break;
+ }
+- else if (tolower(ch.ch) == tolower(*no))
++ else if (tolower(ch.ch) == tolower(*no) || tolower(ch.ch) == 'n')
+ {
+ def = 0;
+ break;