aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-summary.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-08-14 00:40:12 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-08-14 00:40:12 +0800
commit8cd62879327d3068f6ef8e243cf275278c2265a6 (patch)
tree1109f591405196e84b2442f99e99dc1cc90dc362 /camel/camel-folder-summary.c
parent3c7a8efeadf4c7ced34a16249d0876b6d09a3dbb (diff)
downloadgsoc2013-evolution-8cd62879327d3068f6ef8e243cf275278c2265a6.tar
gsoc2013-evolution-8cd62879327d3068f6ef8e243cf275278c2265a6.tar.gz
gsoc2013-evolution-8cd62879327d3068f6ef8e243cf275278c2265a6.tar.bz2
gsoc2013-evolution-8cd62879327d3068f6ef8e243cf275278c2265a6.tar.lz
gsoc2013-evolution-8cd62879327d3068f6ef8e243cf275278c2265a6.tar.xz
gsoc2013-evolution-8cd62879327d3068f6ef8e243cf275278c2265a6.tar.zst
gsoc2013-evolution-8cd62879327d3068f6ef8e243cf275278c2265a6.zip
Fix the range check, we were stopping removal of 1 or 2 removals, for some
2003-08-13 Not Zed <NotZed@Ximian.com> * camel-folder-summary.c (camel_folder_summary_remove_range): Fix the range check, we were stopping removal of 1 or 2 removals, for some odd and completely uncomprehensible reason. Perhaps debug left in? 2003-08-13 Not Zed <NotZed@Ximian.com> ** See bug #47517. * camel-vee-folder.c (vee_sync): Always rebuild folder on any sync, not just expunge ones. svn path=/trunk/; revision=22216
Diffstat (limited to 'camel/camel-folder-summary.c')
-rw-r--r--camel/camel-folder-summary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c
index 6306280f63..5efc369cb5 100644
--- a/camel/camel-folder-summary.c
+++ b/camel/camel-folder-summary.c
@@ -1188,7 +1188,7 @@ void camel_folder_summary_remove_index(CamelFolderSummary *s, int index)
**/
void camel_folder_summary_remove_range(CamelFolderSummary *s, int start, int end)
{
- if (end <= start+1)
+ if (end < start)
return;
CAMEL_SUMMARY_LOCK(s, summary_lock);