building threads with subjects - bugfix
authorHoà Viêt Dinh <dinh.viet.hoa@free.fr>
Mon, 18 Jun 2001 16:34:05 +0000 (16:34 +0000)
committerHoà Viêt Dinh <dinh.viet.hoa@free.fr>
Mon, 18 Jun 2001 16:34:05 +0000 (16:34 +0000)
ChangeLog.claws
src/summaryview.c

index 0e9ac49b03abf7d5b51240031941feaa7d865fdb..39b948559964de58229cc1b568c3eea855078b2d 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-18 [hoa]
+
+       * src/summaryview.c
+               fixed some bug when building threads
+
 2001-06-18 [paul]
 
         * src/prefs_account.c
 2001-06-18 [paul]
 
         * src/prefs_account.c
index ed8fc8d8d92ec7befdaecb11dd6df0fb5a140598..f5479dde1e9870789e9ca9ac397c56b4d1e2ff95 100644 (file)
@@ -1563,7 +1563,7 @@ static void summary_set_ctree_from_list(SummaryView *summaryview,
                                parent = g_hash_table_lookup
                                        (msgid_table, msginfo->inreplyto);
                        }
                                parent = g_hash_table_lookup
                                        (msgid_table, msginfo->inreplyto);
                        }
-                       if (msginfo->subject) {
+                       if (parent == NULL && msginfo->subject) {
                                parent = subject_table_lookup
                                        (subject_table, msginfo->subject);
                        }
                                parent = subject_table_lookup
                                        (subject_table, msginfo->subject);
                        }