]> granicus.if.org Git - mutt/commitdiff
add REG_ICASE accidentally removed in changeset 1a35f096c8cb
authorMichael Elkins <me@sigpipe.org>
Tue, 24 Aug 2010 17:03:44 +0000 (10:03 -0700)
committerMichael Elkins <me@sigpipe.org>
Tue, 24 Aug 2010 17:03:44 +0000 (10:03 -0700)
init.c

diff --git a/init.c b/init.c
index 656fe1456cf16e45b21486145271f17622d8a44b..b40c6eb110c5dbb9242e5817b2f25449f0698c7e 100644 (file)
--- a/init.c
+++ b/init.c
@@ -967,7 +967,7 @@ static int parse_attach_list (BUFFER *buf, BUFFER *s, LIST **ldata, BUFFER *err)
     tmpminor[len+2] = '\0';
 
     a->major_int = mutt_check_mime_type(a->major);
-    ret = REGCOMP(&a->minor_rx, tmpminor, 0);
+    ret = REGCOMP(&a->minor_rx, tmpminor, REG_ICASE);
 
     FREE(&tmpminor);