summaryrefslogtreecommitdiffstats
path: root/mh.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-09-23 08:33:32 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-09-23 08:33:32 +0000
commit2eabb25219b5648b2e2da27492ef79fb833dfc81 (patch)
tree3177416c4959d64c94a7c8a4c81011b46989db69 /mh.c
parent74e989216cfb9dff160c54ca12afae75cfd11a1b (diff)
Really fix the index hints.
Diffstat (limited to 'mh.c')
-rw-r--r--mh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mh.c b/mh.c
index f5a22061..4503ecd2 100644
--- a/mh.c
+++ b/mh.c
@@ -696,7 +696,7 @@ int mh_check_mailbox(CONTEXT *ctx, int *index_hint)
* the index hint.
*/
- if(index_hint && (i <= *index_hint))
+ if(modified && index_hint && (i <= *index_hint))
idx--;
}
}