mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
ISSUE#1874 - happy linter
This commit is contained in:
parent
0079092699
commit
995802e8ae
@ -266,8 +266,7 @@ auto waybar::modules::Clock::calendar_text(const waybar_time& wtime) -> std::str
|
||||
/*Print weeks on the right when the endings with spaces*/
|
||||
if (weeks_pos == WeeksSide::RIGHT && d == last_day) {
|
||||
empty_days = 6 - (wd.c_encoding() - first_dow.c_encoding());
|
||||
if (empty_days > 0 &&
|
||||
empty_days < 7) {
|
||||
if (empty_days > 0 && empty_days < 7) {
|
||||
os << std::string(empty_days * 3, ' ');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user