Skip to content

Commit 59c0675

Browse files
committed
Game Load: fixed a piece of legacy GUI1 formatting
1 parent 8241b0d commit 59c0675

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/gui/dialogs/game_load.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,10 @@ void tgame_load::filter_text_changed(ttext_* textbox, const std::string& text)
275275
window.set_enter_disabled(!any_shown);
276276
}
277277

278-
void tgame_load::evaluate_summary_string(std::stringstream& str,
279-
const config& cfg_summary)
278+
void tgame_load::evaluate_summary_string(std::stringstream& str, const config& cfg_summary)
280279
{
281280
if(cfg_summary["corrupt"].to_bool()) {
282-
str << "\n" << _("#(Invalid)");
281+
str << "\n<span color='#f00'>" << _("(Invalid)") << "</span>";
283282

284283
return;
285284
}

0 commit comments

Comments
 (0)