diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2005-10-31 10:03:55 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2005-10-31 10:03:55 +0000 |
commit | d548c103a367231b6739e27c5a86e95277c1f5d3 (patch) | |
tree | 3869ad578d7d32914c77dd58524d9ad7d218e99f /flags.c | |
parent | 0951dfecceaf01099f6cf3e0f98545fcbcaaba35 (diff) |
Fix #2123.
Diffstat (limited to 'flags.c')
-rw-r--r-- | flags.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -34,6 +34,7 @@ void _mutt_set_flag (CONTEXT *ctx, HEADER *h, int flag, int bf, int upd_ctx) int changed = h->changed; int deleted = ctx->deleted; int tagged = ctx->tagged; + int flagged = ctx->flagged; if (ctx->readonly && flag != M_TAG) return; /* don't modify anything if we are read-only */ @@ -272,7 +273,7 @@ void _mutt_set_flag (CONTEXT *ctx, HEADER *h, int flag, int bf, int upd_ctx) * search results so that any future search will match the current status * of this message and not what it was at the time it was last searched. */ - if (h->searched && (changed != h->changed || deleted != ctx->deleted || tagged != ctx->tagged)) + if (h->searched && (changed != h->changed || deleted != ctx->deleted || tagged != ctx->tagged || flagged != ctx->flagged)) h->searched = 0; } |