Missing std_to_wx().
authorCarl Hetherington <cth@carlh.net>
Thu, 17 Jul 2014 09:36:05 +0000 (10:36 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 17 Jul 2014 09:36:05 +0000 (10:36 +0100)
Reported-by: Carsten Kurz
ChangeLog
src/wx/job_manager_view.cc

index 4e256adddf40192ec98fbab4d0c14b025d82fe97..e550ddf3fb1f61f9aa4484bf2f325fbcb431d066 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-07-17  Carl Hetherington  <cth@carlh.net>
 
+       * Fix corrupted text in job descriptions in some cases.
+
        * Speculative fix for failure to keep Windows
        machines awake during encodes.
 
index 1b9e281a749c2ab58c9c7cf77b526072654c5ae5..df9c6f5f1d996dfcbccff08753d71b5789c007c6 100644 (file)
@@ -49,7 +49,8 @@ public:
                int n = 0;
                
                _name = new wxStaticText (panel, wxID_ANY, "");
-               _name->SetLabelMarkup ("<b>" + _job->name () + "</b>");
+               string const jn = "<b>" + _job->name () + "</b>";
+               _name->SetLabelMarkup (std_to_wx (jn));
                table->Insert (n, _name, 0, wxALIGN_CENTER_VERTICAL | wxALL, 6);
                ++n;