[notmuch] [PATCH 1/2] Skip German "aw:" prefix in subjects

2010-01-28 Thread Michal Sojka
This was originally present in Andreas Kl?ckner's patch.
---
 lib/index.cc |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/index.cc b/lib/index.cc
index 7e2da08..eb97f91 100644
--- a/lib/index.cc
+++ b/lib/index.cc
@@ -116,6 +116,8 @@ skip_re_in_subject (const char *subject)
s++;
if (strncasecmp (s, "re:", 3) == 0)
s += 3;
+else if (strncasecmp (s, "aw:", 3) == 0)
+   s += 3;
else
break;
 }
-- 
1.6.6



[notmuch] [PATCH 1/2] Skip German aw: prefix in subjects

2010-01-28 Thread Michal Sojka
This was originally present in Andreas Klöckner's patch.
---
 lib/index.cc |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/lib/index.cc b/lib/index.cc
index 7e2da08..eb97f91 100644
--- a/lib/index.cc
+++ b/lib/index.cc
@@ -116,6 +116,8 @@ skip_re_in_subject (const char *subject)
s++;
if (strncasecmp (s, re:, 3) == 0)
s += 3;
+else if (strncasecmp (s, aw:, 3) == 0)
+   s += 3;
else
break;
 }
-- 
1.6.6

___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch