aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mutt14/files/patch-05
blob: 0c8e4da8c1aad6029e5d3383ce63a86fd36dc6d9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
--- curs_lib.c.orig Thu Jan 14 14:29:17 1999
+++ curs_lib.c  Thu Feb 18 20:58:46 1999
@@ -408,8 +418,9 @@
 {
   event_t ch;
   int choice;
-  char *p;
+  char *p, *nletters;
 
+  nletters = _(letters);
   mvaddstr (LINES - 1, 0, prompt);
   clrtoeol ();
   FOREVER
@@ -423,6 +434,12 @@
     }
     else
     {
+      p = strchr (nletters, ch.ch);
+      if (p)
+      {
+   choice = p - nletters + 1;
+   break;
+      }
       p = strchr (letters, ch.ch);
       if (p)
       {
--- browser.c.bak   Thu Jan  7 12:14:39 1999
+++ browser.c   Thu Feb 18 20:58:45 1999
@@ -743,7 +743,7 @@
      switch (mutt_multi_choice ((reverse) ?
          _("Reverse sort by (d)ate, (a)lpha, si(z)e or do(n)'t sort? ") :
          _("Sort by (d)ate, (a)lpha, si(z)e or do(n)'t sort? "),
-         _("dazn")))
+         N_("dazn")))
      {
        case -1: /* abort */
          resort = 0;
--- commands.c.bak  Tue Feb  9 23:53:38 1999
+++ commands.c  Thu Feb 18 20:58:45 1999
@@ -333,7 +333,7 @@
   switch (mutt_multi_choice (reverse ?
                 _("Rev-Sort (d)ate/(f)rm/(r)ecv/(s)ubj/t(o)/(t)hread/(u)nsort/si(z)e/s(c)ore?: ") :
                 _("Sort (d)ate/(f)rm/(r)ecv/(s)ubj/t(o)/(t)hread/(u)nsort/si(z)e/s(c)ore?: "),
-                _("dfrsotuzc")))
+                N_("dfrsotuzc")))
   {
   case -1: /* abort - don't resort */
     return -1;
--- compose.c.bak   Tue Jan 26 11:40:36 1999
+++ compose.c   Thu Feb 18 20:58:46 1999
@@ -130,7 +130,7 @@
   struct pgp_vinfo *pgp = pgp_get_vinfo(PGP_SIGN);
 
   switch (mutt_multi_choice (_("(e)ncrypt, (s)ign, sign (a)s, (b)oth, select (m)ic algorithm, or (f)orget it? "),
-                _("esabmf")))
+                N_("esabmf")))
   {
   case 1: /* (e)ncrypt */
     bits |= PGPENCRYPT;
--- lib.c.bak   Thu Feb 11 00:54:01 1999
+++ lib.c   Thu Feb 18 20:58:46 1999
@@ -795,7 +795,7 @@
   if (*append == 0 && access (fname, F_OK) == 0)
   {
     switch (mutt_multi_choice
-       (_("File exists, (o)verwrite, (a)ppend, or (c)ancel?"), _("oac")))
+       (_("File exists, (o)verwrite, (a)ppend, or (c)ancel?"), N_("oac")))
     {
       case -1: /* abort */
       case 3:  /* cancel */