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>2019-05-31 16:21:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-31 16:22:52 +0300
commitaba4e6810f8b4d0e459137b64e061a2cadc457d1 (patch)
tree2b6159c7ba0f23c020600b71276772fa4a882b5b /source/blender/editors/space_info
parent72a563cdee8fef198a200ff65b57ddb847c01795 (diff)
Cleanup: style, use braces in source/ (include disabled blocks)
Diffstat (limited to 'source/blender/editors/space_info')
-rw-r--r--source/blender/editors/space_info/info_report.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/source/blender/editors/space_info/info_report.c b/source/blender/editors/space_info/info_report.c
index 4c00512d838..0fa9ddacc20 100644
--- a/source/blender/editors/space_info/info_report.c
+++ b/source/blender/editors/space_info/info_report.c
@@ -77,16 +77,21 @@ int info_report_mask(SpaceInfo *UNUSED(sinfo))
#if 0
int report_mask = 0;
- if (sinfo->rpt_mask & INFO_RPT_DEBUG)
+ if (sinfo->rpt_mask & INFO_RPT_DEBUG) {
report_mask |= RPT_DEBUG_ALL;
- if (sinfo->rpt_mask & INFO_RPT_INFO)
+ }
+ if (sinfo->rpt_mask & INFO_RPT_INFO) {
report_mask |= RPT_INFO_ALL;
- if (sinfo->rpt_mask & INFO_RPT_OP)
+ }
+ if (sinfo->rpt_mask & INFO_RPT_OP) {
report_mask |= RPT_OPERATOR_ALL;
- if (sinfo->rpt_mask & INFO_RPT_WARN)
+ }
+ if (sinfo->rpt_mask & INFO_RPT_WARN) {
report_mask |= RPT_WARNING_ALL;
- if (sinfo->rpt_mask & INFO_RPT_ERR)
+ }
+ if (sinfo->rpt_mask & INFO_RPT_ERR) {
report_mask |= RPT_ERROR_ALL;
+ }
return report_mask;
#endif