[Commits] [SCM] claws branch, gtk2, updated. 3.19.1-97-gb08c97336
mones at claws-mail.org
mones at claws-mail.org
Fri Nov 10 17:34:39 UTC 2023
The branch, gtk2 has been updated
via b08c97336e6cd9c39f05ac2cfce5f9abc6bef557 (commit)
via e1682c8b85fedfec46a7094ac63388303acfb91a (commit)
from 76b6779e9e2d06fa409b2d9fe710844b8e2a878e (commit)
Summary of changes:
src/mimeview.c | 8 ++++----
src/summaryview.c | 4 ++--
2 files changed, 6 insertions(+), 6 deletions(-)
- Log -----------------------------------------------------------------
commit b08c97336e6cd9c39f05ac2cfce5f9abc6bef557
Author: Ricardo Mones <ricardo at mones.org>
Date: Fri Nov 10 18:33:19 2023 +0100
More parentheses for yet another warning
summaryview.c:3986:66: warning: suggest parentheses around ‘&&’ within ‘||’
diff --git a/src/summaryview.c b/src/summaryview.c
index 488632794..aa92abd10 100644
--- a/src/summaryview.c
+++ b/src/summaryview.c
@@ -3988,9 +3988,9 @@ static void summary_set_row_marks(SummaryView *summaryview, GtkCMCTreeNode *row)
"");
}
- if (((prefs_common.bold_unread && MSG_IS_UNREAD(flags)) ||
+ if ((((prefs_common.bold_unread && MSG_IS_UNREAD(flags)) ||
(prefs_common.bold_marked && MSG_IS_MARKED(flags))) &&
- !MSG_IS_IGNORE_THREAD(flags) ||
+ !MSG_IS_IGNORE_THREAD(flags)) ||
(!GTK_CMCTREE_ROW(row)->expanded &&
GTK_CMCTREE_ROW(row)->children &&
summary_have_unread_children(summaryview, row)))
commit e1682c8b85fedfec46a7094ac63388303acfb91a
Author: Ricardo Mones <ricardo at mones.org>
Date: Fri Nov 10 18:33:09 2023 +0100
Add parentheses to fix warning
mimeview.c:1946:39: warning: suggest parentheses around ‘&&’ within ‘||’
diff --git a/src/mimeview.c b/src/mimeview.c
index 1f5cfa982..0f9e3bc9f 100644
--- a/src/mimeview.c
+++ b/src/mimeview.c
@@ -1919,14 +1919,14 @@ static void mimeview_save_all(MimeView *mimeview, gboolean attachments_only)
}
while (partinfo != NULL) {
- if (!attachments_only &&
+ if ((!attachments_only &&
(partinfo->type != MIMETYPE_MESSAGE &&
partinfo->type != MIMETYPE_MULTIPART &&
(partinfo->disposition != DISPOSITIONTYPE_INLINE ||
- get_real_part_name(partinfo) != NULL)) ||
- attachments_only &&
+ get_real_part_name(partinfo) != NULL))) ||
+ (attachments_only &&
(partinfo->disposition == DISPOSITIONTYPE_ATTACHMENT &&
- get_real_part_name(partinfo) != NULL)) {
+ get_real_part_name(partinfo) != NULL))) {
gchar *filename = mimeview_get_filename_for_part(
partinfo, dirname, number++);
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list