From 742d96e86a262d0238105bc869ec8f350e36ccae Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 14 Feb 2024 23:03:24 +0100 Subject: Fix conversion of _X to underlined X with GTK (via gtk_label_set_text_with_mnemonic, I think). --- src/wx/job_view.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/wx/job_view.cc b/src/wx/job_view.cc index 41a1af012..efe17f4de 100644 --- a/src/wx/job_view.cc +++ b/src/wx/job_view.cc @@ -125,6 +125,9 @@ JobView::progress () /* Watch out for < > in the error string */ boost::algorithm::replace_all (s, "<", "<"); boost::algorithm::replace_all (s, ">", ">"); +#ifdef DCPOMATIC_LINUX + boost::algorithm::replace_all(s, "_", "__"); +#endif whole += s; if (whole != _last_message) { _message->SetLabelMarkup (std_to_wx (whole)); -- cgit v1.2.3