]> granicus.if.org Git - neomutt/commitdiff
Fix MH parsing, fixes [0698e8195545]. Closes #3312
authorJohan D <djo33@free.fr>
Tue, 4 Aug 2009 10:08:37 +0000 (12:08 +0200)
committerJohan D <djo33@free.fr>
Tue, 4 Aug 2009 10:08:37 +0000 (12:08 +0200)
ChangeLog
mh.c

index cf9cfe0e94346b6f0907fe76c8bb07df6ad3583e..126caaae12e2d9bf2162ef756b8087e982ebb96d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2009-08-01 15:16 +0200  Rocco Rutte  <pdmef@gmx.net>  (29727d19634a)
+
+       * doc/manual.xml.head: Manual: use full names for &eacute; and
+       &egrave; entities. Closes #3286.
+
+       This is necessary because we want to install a us-ascii manual.txt
+       that would contain only "e" instead of accented characters.
+
+2009-07-30 17:56 +0200  Rocco Rutte  <pdmef@gmx.net>  (4a572310c3b5)
+
+       * main.c: Fix mutt -h output for -a/-- options
+
 2009-07-29 13:26 -0700  Brendan Cully  <brendan@kublai.com>  (a2a4286491b4)
 
        * hcache.c, hcache.h, imap/util.c: Harmonize hcache uidvalidity size
diff --git a/mh.c b/mh.c
index b03e71465893c74446dd1a8e0f54737d8b8ef719..2b31cca7fad2f6e9f6a0ff0f272dd51a5e7177ef 100644 (file)
--- a/mh.c
+++ b/mh.c
@@ -146,7 +146,7 @@ static int mh_read_token (char *t, int *first, int *last)
   if ((p = strchr (t, '-')))
   {
     *p++ = '\0';
-    if (mutt_atoi (t, first) < 0 || mutt_atoi (t, last) < 0)
+    if (mutt_atoi (t, first) < 0 || mutt_atoi (p, last) < 0)
       return -1;
   }
   else