fix: compilation errors with cpp_std=c++20

pull/1991/head
Alexander Courtis 2023-02-11 13:26:03 +11:00
parent 5e4a47c0a8
commit 43958ef560
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}