Fix clang build error

This commit is contained in:
Jason Chiu
2025-09-17 22:09:49 +00:00
committed by GitHub
parent 41de8964f1
commit eee0362367
+1 -1
View File
@@ -375,7 +375,7 @@ auto waybar::modules::Clock::get_calendar(const year_month_day& today, const yea
} }
} }
os << Glib::ustring::format( os << Glib::ustring::format(
(cldWPos_ != WS::LEFT || line == 0) ? std::left : std::right, std::setfill(L' '), (cldWPos_ != WS::LEFT || line == 0) ? std::left : std::right, std::setfill(' '),
std::setw(cldMonColLen_ + ((line < 2) ? cldWnLen_ - wideCharCount : 0)), std::setw(cldMonColLen_ + ((line < 2) ? cldWnLen_ - wideCharCount : 0)),
calendarLine); calendarLine);