clang-format: Set penalty for breaking after assignment operator

This commit is contained in:
Tim Wojtulewicz 2021-09-24 16:06:13 -07:00
parent 4423574d26
commit 9af6b2f48d
54 changed files with 255 additions and 247 deletions

View file

@ -890,8 +890,8 @@ double calc_next_rotate(double current, double interval, double base)
double startofday = mktime(&t);
// current < startofday + base + i * interval <= current + interval
double delta_t =
startofday + base + ceil((current - startofday - base) / interval) * interval - current;
double delta_t = startofday + base + ceil((current - startofday - base) / interval) * interval -
current;
return delta_t > 0.0 ? delta_t : interval;
}