fix thread by subject/sort by date
authorPaul Mangan <paul@claws-mail.org>
Wed, 2 Jul 2003 08:57:08 +0000 (08:57 +0000)
committerPaul Mangan <paul@claws-mail.org>
Wed, 2 Jul 2003 08:57:08 +0000 (08:57 +0000)
ChangeLog.claws
configure.ac
src/procmsg.c

index 7681cbed64252401addcaeebffe725323c45dd5e..2b66103ccbfee2b0c8d4c4b93774a0fb2c0bae53 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-02 [paul]      0.9.0claws71
+
+       * src/procmsg.c
+               fix thread by subject/sort by date
+
 2003-07-01 [paul]      0.9.0claws70
 
        * sync with 0.9.2cvs10
index a973fec56f548f11cf8a90c3612a563b4f230adc..5bb2e07a2c3632582ada38998aedcc2ad2f49b7a 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws70
+EXTRA_VERSION=claws71
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 8aee6db65a7fa04d51c135394c0344d9f352012b..858ecc53d0487c718ab1ac08b40fe28bf88c682d 100644 (file)
@@ -222,8 +222,8 @@ GNode *procmsg_get_thread_tree(GSList *mlist)
         * circular reference from a node that has already been threaded by IN-REPLY-TO
         * but is also in the subject line hash table */
        if (prefs_common.thread_by_subject) {
-               for (node = last; node && node != NULL;) {
-                       next = node->prev;
+               for (node = root->children; node && node != NULL;) {
+                       next = node->next;
                        msginfo = (MsgInfo *) node->data;
                        subject = msginfo->subject + subject_get_reply_prefix_length(msginfo->subject);
                        parent = subject_table_lookup_clean(subject_table, (gchar *) subject);