]> mj.ucw.cz Git - checkmail.git/commitdiff
Bugfix: Running mutt on a mailbox did not order it refreshed
authorMartin Mares <mj@ucw.cz>
Sun, 15 Feb 2015 19:43:38 +0000 (20:43 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 15 Feb 2015 19:43:38 +0000 (20:43 +0100)
cm.c

diff --git a/cm.c b/cm.c
index 9bc036672c4139ee175a48b34239bf0b0698bc52..a2c27d28bcbab90ecd9ce366190819c18be12970 100644 (file)
--- a/cm.c
+++ b/cm.c
@@ -781,7 +781,8 @@ scan(int notify)
          debug("inactive\n");
          continue;
        }
-      b->force_refresh = force_refresh;
+      if (force_refresh)
+       b->force_refresh = 1;
       if (stat(b->path, &st) < 0)
        {
          b->total = b->new = b->flagged = -1;