From b3cc0aa4f60d78c12ae98ed7da42601e7bad16b4 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 16 Oct 2022 12:57:51 +0200 Subject: [PATCH] added explicit operator precedence (stylistic only) This issue was found by Cppcheck (static C/C++ code analysis tool). --- src/anim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/anim.c b/src/anim.c index 8a1264c2..c4952d70 100644 --- a/src/anim.c +++ b/src/anim.c @@ -1177,12 +1177,12 @@ static boolean isClickedPart(struct GlobalAnimPartControlInfo *part, static boolean clickBlocked(struct GlobalAnimPartControlInfo *part) { - return (part->control_info.style & STYLE_BLOCK ? TRUE : FALSE); + return ((part->control_info.style & STYLE_BLOCK) ? TRUE : FALSE); } static boolean clickConsumed(struct GlobalAnimPartControlInfo *part) { - return (part->control_info.style & STYLE_PASSTHROUGH ? FALSE : TRUE); + return ((part->control_info.style & STYLE_PASSTHROUGH) ? FALSE : TRUE); } static void InitGlobalAnim_Triggered(struct GlobalAnimPartControlInfo *part, -- 2.34.1