diff options
author | NotZed <NotZed@HelixCode.com> | 2000-05-03 01:36:32 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-05-03 01:36:32 +0800 |
commit | ee108c89b92ae4ae0b35fc1ff38314bb34d3654c (patch) | |
tree | 293b8d42e97fa9551509ff4a38e41d17059a3ed1 /camel/providers | |
parent | 443225643fc837ad485c2bf845d4bb6865a16bb5 (diff) | |
download | gsoc2013-evolution-ee108c89b92ae4ae0b35fc1ff38314bb34d3654c.tar gsoc2013-evolution-ee108c89b92ae4ae0b35fc1ff38314bb34d3654c.tar.gz gsoc2013-evolution-ee108c89b92ae4ae0b35fc1ff38314bb34d3654c.tar.bz2 gsoc2013-evolution-ee108c89b92ae4ae0b35fc1ff38314bb34d3654c.tar.lz gsoc2013-evolution-ee108c89b92ae4ae0b35fc1ff38314bb34d3654c.tar.xz gsoc2013-evolution-ee108c89b92ae4ae0b35fc1ff38314bb34d3654c.tar.zst gsoc2013-evolution-ee108c89b92ae4ae0b35fc1ff38314bb34d3654c.zip |
Fix the offset for the summary when an item is expunged to take account of
2000-05-02 NotZed <NotZed@HelixCode.com>
* providers/mbox/camel-mbox-summary.c
(camel_mbox_summary_expunge): Fix the offset for the summary when
an item is expunged to take account of the From line.
svn path=/trunk/; revision=2748
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/mbox/camel-mbox-summary.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/mbox/camel-mbox-summary.c b/camel/providers/mbox/camel-mbox-summary.c index 754f211dfe..35b7945e49 100644 --- a/camel/providers/mbox/camel-mbox-summary.c +++ b/camel/providers/mbox/camel-mbox-summary.c @@ -1423,9 +1423,9 @@ camel_mbox_summary_expunge(CamelMboxSummary *s) if (info->info.flags & CAMEL_MESSAGE_DELETED) { printf("Deleting message: %s\n", info->info.uid); camel_mbox_summary_copy_block(fd, fdout, last_write, last_start-last_write); + offset += (content->endpos - last_start); last_write = content->endpos; last_start = last_write; - offset += (content->endpos - content->pos); /* remove this message from the index */ if (s->index) { |