mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix: compilation errors with cpp_std=c++20
This commit is contained in:
parent
5e4a47c0a8
commit
43958ef560
@ -146,7 +146,7 @@ void Layout::handle_name(const char *name) {
|
||||
label_.hide(); // hide empty labels or labels with empty format
|
||||
} else {
|
||||
label_.show();
|
||||
label_.set_markup(fmt::format(format_, Glib::Markup::escape_text(name).raw()));
|
||||
label_.set_markup(fmt::format(fmt::runtime(format_), Glib::Markup::escape_text(name).raw()));
|
||||
}
|
||||
ALabel::update();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user