Fix madmutt for stupid terms with only 64 colors.
[apps/madmutt.git] / score.cpkg
index c6c9f0b..1495ed8 100644 (file)
@@ -128,7 +128,7 @@ void mutt_score_message (CONTEXT * ctx, HEADER * hdr, int upd_ctx)
 
     if (hdr->score <= mod_score.threshold_delete)
         _mutt_set_flag(ctx, hdr, M_DELETE, 1, upd_ctx);
-    if (hdr->score <= mod_score.threshold_flag)
+    if (hdr->score <= mod_score.threshold_read)
         _mutt_set_flag(ctx, hdr, M_READ, 1, upd_ctx);
     if (hdr->score >= mod_score.threshold_flag)
         _mutt_set_flag(ctx, hdr, M_FLAG, 1, upd_ctx);