diff options
Diffstat (limited to 'camel/camel-folder-summary.c')
-rw-r--r-- | camel/camel-folder-summary.c | 2 |
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); |