Cleanup: style, use braces for draw

This commit is contained in:
2019-03-28 01:11:28 +11:00
parent 56b06ee83a
commit 73b55a5508
12 changed files with 130 additions and 60 deletions

View File

@@ -326,7 +326,9 @@ void DRW_stats_draw(rcti *rect)
DRWTimer *timer_parent = (timer->lvl > 0) ? &DTP.timers[lvl_index[timer->lvl - 1]] : NULL;
/* Only display a number of lvl at a time */
if ((G.debug_value - 21) < timer->lvl) continue;
if ((G.debug_value - 21) < timer->lvl) {
continue;
}
BLI_assert(timer->lvl < MAX_NESTED_TIMER);
lvl_index[timer->lvl] = i;