Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-03-15 13:53:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-03-15 13:53:57 +0300
commitb8feef59c8b463dfec0b991bf40554947c96bff1 (patch)
treef763ba0a45e14bd90084a2d007bb146f5154f27b /source/blender/editors/space_info/info_draw.c
parent5029b97d0240a2b59914812fe004b14b26f8fc34 (diff)
Cleanup: add parens for clarity
Diffstat (limited to 'source/blender/editors/space_info/info_draw.c')
-rw-r--r--source/blender/editors/space_info/info_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_info/info_draw.c b/source/blender/editors/space_info/info_draw.c
index d704e10cce9..60170276a16 100644
--- a/source/blender/editors/space_info/info_draw.c
+++ b/source/blender/editors/space_info/info_draw.c
@@ -53,7 +53,7 @@ static enum eTextViewContext_LineFlag report_line_data(TextViewContext *tvc,
/* Zebra striping for background. */
int bg_id = (report->flag & SELECT) ? TH_INFO_SELECTED : TH_BACK;
- int shade = tvc->iter_tmp % 2 ? 4 : -4;
+ int shade = (tvc->iter_tmp % 2) ? 4 : -4;
UI_GetThemeColorShade4ubv(bg_id, shade, bg);
/* Icon color and backgound depend of report type. */