]> granicus.if.org Git - neomutt/commitdiff
Really fix the index hints.
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 23 Sep 1998 08:33:32 +0000 (08:33 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 23 Sep 1998 08:33:32 +0000 (08:33 +0000)
mh.c

diff --git a/mh.c b/mh.c
index f5a220611c5142f71378a4cd80d6822172e73d15..4503ecd229249f3cc78f21dfac073d3aa34692db 100644 (file)
--- 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--;
     }
   }