aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-thread.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-05-13 14:28:59 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-05-13 14:28:59 +0800
commit2711a779ae0870128998bca474a436f4b7458c97 (patch)
treec7abfb27758ef7af3179a4a33023ee9545ca2a98 /camel/camel-folder-thread.c
parent643d963bfec169ec45f8ae4efaa4ee4243e07d59 (diff)
downloadgsoc2013-evolution-2711a779ae0870128998bca474a436f4b7458c97.tar
gsoc2013-evolution-2711a779ae0870128998bca474a436f4b7458c97.tar.gz
gsoc2013-evolution-2711a779ae0870128998bca474a436f4b7458c97.tar.bz2
gsoc2013-evolution-2711a779ae0870128998bca474a436f4b7458c97.tar.lz
gsoc2013-evolution-2711a779ae0870128998bca474a436f4b7458c97.tar.xz
gsoc2013-evolution-2711a779ae0870128998bca474a436f4b7458c97.tar.zst
gsoc2013-evolution-2711a779ae0870128998bca474a436f4b7458c97.zip
Since the fix for #3357 uses 'order=0' to indicate tree structure nodes,
2002-05-13 Not Zed <NotZed@Ximian.com> * camel-folder-thread.c (camel_folder_thread_messages_new_summary): (camel_folder_thread_messages_new): Since the fix for #3357 uses 'order=0' to indicate tree structure nodes, make sure we dont actually set order=0 for valid messages, otherwise we silently lose duplicates of the first message (i==0). Fixes #19920. svn path=/trunk/; revision=16764
Diffstat (limited to 'camel/camel-folder-thread.c')
-rw-r--r--camel/camel-folder-thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-folder-thread.c b/camel/camel-folder-thread.c
index be21ed3239..2427047ed9 100644
--- a/camel/camel-folder-thread.c
+++ b/camel/camel-folder-thread.c
@@ -501,7 +501,7 @@ camel_folder_thread_messages_new(CamelFolder *folder, GPtrArray *uids)
}
c->message = mi;
- c->order = i;
+ c->order = i+1;
child = c;
if (mi->references) {
int j;
@@ -652,7 +652,7 @@ camel_folder_thread_messages_new_summary(GPtrArray *summary)
}
c->message = mi;
- c->order = i;
+ c->order = i+1;
child = c;
if (mi->references) {
int j;