From 65608443d3c204c6376a1395e43799df32045408 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 20 Oct 2022 12:18:37 +0100 Subject: [PATCH] fix bold_marked --- src/summaryview.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/summaryview.c b/src/summaryview.c index bd0eb8c06..bbd8d7f1d 100644 --- a/src/summaryview.c +++ b/src/summaryview.c @@ -3982,11 +3982,12 @@ static void summary_set_row_marks(SummaryView *summaryview, GtkCMCTreeNode *row) ""); } - if ((prefs_common.bold_unread || prefs_common.bold_marked) && - (((MSG_IS_UNREAD(flags) || MSG_IS_MARKED(flags)) && !MSG_IS_IGNORE_THREAD(flags)) || - (!GTK_CMCTREE_ROW(row)->expanded && + if (((prefs_common.bold_unread && MSG_IS_UNREAD(flags)) || + (prefs_common.bold_marked && MSG_IS_MARKED(flags))) && + !MSG_IS_IGNORE_THREAD(flags) || + (!GTK_CMCTREE_ROW(row)->expanded && GTK_CMCTREE_ROW(row)->children && - summary_have_unread_children(summaryview, row)))) + summary_have_unread_children(summaryview, row))) style = bold_style; /* set mark column */ -- 2.11.4.GIT