Try to fix mangled wx/std string conversions.
[dcpomatic.git] / src / tools / dvdomatic.cc
index 66f366a24148d7ea1ee1f07966ed73b04b172389..2ad41b2cb8d08bd6cde0736dfc8282f5fca2dc08 100644 (file)
@@ -328,7 +328,7 @@ private:
                        } catch (std::exception& e) {
                                wxString p = c->GetPath ();
                                wxCharBuffer b = p.ToUTF8 ();
-                               error_dialog (this, wxString::Format (_("Could not open film at %s (%s)"), p.data(), e.what()));
+                               error_dialog (this, wxString::Format (_("Could not open film at %s (%s)"), p.data(), std_to_wx (e.what())));
                        }
                }