aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-09 11:03:50 +0800
committerDan Winship <danw@src.gnome.org>2000-07-09 11:03:50 +0800
commit541c90527905994cdabb45d98398600a88db7b18 (patch)
treef1f44632ea0138496dd4f7db33a00b6f29cd0d56 /mail
parent7f64833332cfb7c5d5b67996132972af30c0c6a0 (diff)
downloadgsoc2013-evolution-541c90527905994cdabb45d98398600a88db7b18.tar.gz
gsoc2013-evolution-541c90527905994cdabb45d98398600a88db7b18.tar.zst
gsoc2013-evolution-541c90527905994cdabb45d98398600a88db7b18.zip
fix a "Re:" parsing bug
* message-thread.c (get_root_subject): fix a "Re:" parsing bug svn path=/trunk/; revision=3998
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog4
-rw-r--r--mail/message-thread.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 479ee41e38..a7113ff3b9 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-08 Dan Winship <danw@helixcode.com>
+
+ * message-thread.c (get_root_subject): fix a "Re:" parsing bug
+
2000-07-08 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (real_fetch_mail): Always dump incoming messages to
diff --git a/mail/message-thread.c b/mail/message-thread.c
index a1abc23560..e3200b3a69 100644
--- a/mail/message-thread.c
+++ b/mail/message-thread.c
@@ -190,7 +190,7 @@ get_root_subject(struct _container *c, int *re)
if ((s[0] == 'r' || s[0]=='R')
&& (s[1] == 'e' || s[1]=='E')) {
p = s+2;
- while (ispunct(*p) || (isdigit(*p) && (*p != ':')))
+ while (isdigit(*p) || (ispunct(*p) && (*p != ':')))
p++;
if (*p==':') {
*re = TRUE;