use new style regexp for subject stripping (submitted by Thomas Link)
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Mon, 24 Dec 2001 16:03:58 +0000 (16:03 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Mon, 24 Dec 2001 16:03:58 +0000 (16:03 +0000)
ChangeLog.claws
configure.in
src/summaryview.c

index 6d65e6e68475481a6eaac41091cd9181780f0695..754b0a3bab69a8338daa48803c7c0d5f0184f048 100644 (file)
@@ -1,3 +1,9 @@
+2001-12-24 [alfons]    0.6.6claws17
+       
+       * src/summaryview.c
+               use new style regexp for subject stripping 
+               (patch submitted by Thomas Link <t.link.tmp200101@gmx.net>)
+
 2001-12-24 [darko]     0.6.6claws16
 
        * src/pgptext.c
index 12865df82996163a4e18fbf3c7df7483d7339ba4..c0d081a717ff4df02232c9a64d96b68807900c63 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=6
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws16
+EXTRA_VERSION=claws17
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl
index 548da4672d6e6152a698105a3ff94e40f1a445ab..0e94e9280bec470b3f26321d1e4234569734a640 100644 (file)
@@ -46,6 +46,7 @@
 #include <ctype.h>
 #include <unistd.h>
 #include <sys/stat.h>
+#include <regex.h>
 
 #include "intl.h"
 #include "main.h"
@@ -3620,7 +3621,8 @@ void summary_simplify_subject(SummaryView *summaryview, gchar * rexp,
        GSList * cur;
        for(cur = mlist ; cur != NULL ; cur = cur->next) {
                MsgInfo * msginfo = (MsgInfo *) cur->data;
-               string_remove_all_matches(msginfo->subject, rexp, 0, 0);
+               string_remove_all_matches(msginfo->subject, rexp, 
+                                         REG_EXTENDED, 0);
        }
 }