]> granicus.if.org Git - mutt/commitdiff
Reduce the meaning of the mark_old option so it only controls
authorDavid Shaw <dshaw@jabberwocky.com>
Mon, 9 Dec 2002 18:03:55 +0000 (18:03 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Mon, 9 Dec 2002 18:03:55 +0000 (18:03 +0000)
whether new messages are marked as old when leaving the mailbox.

mh.c
parse.c

diff --git a/mh.c b/mh.c
index 77ea5f4d773d488eba32f72c2f81ab25e9ed6962..ebe93e36411e9d2c269c91e87b11673b34270cc8 100644 (file)
--- a/mh.c
+++ b/mh.c
@@ -704,7 +704,7 @@ static int maildir_parse_dir (CONTEXT * ctx, struct maildir ***last,
   if (subdir)
   {
     snprintf (buf, sizeof (buf), "%s/%s", ctx->path, subdir);
-    is_old = (mutt_strcmp ("cur", subdir) == 0) && option (OPTMARKOLD);
+    is_old = (mutt_strcmp ("cur", subdir) == 0);
   }
   else
     strfcpy (buf, ctx->path, sizeof (buf));
diff --git a/parse.c b/parse.c
index d3ff9233cd3090aa089bd7e777572fa8a2955e48..50c8a4543e6ea7433c1ddff0dc6c5ab8c6c635b1 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -1161,7 +1161,6 @@ int mutt_parse_rfc822_line (ENVELOPE *e, HEADER *hdr, char *line, char *p, short
            hdr->replied = 1;
            break;
            case 'O':
-           if (option (OPTMARKOLD))
              hdr->old = 1;
            break;
            case 'R':