Merge master.
[dcpomatic.git] / src / tools / dvdomatic.cc
index 239b4a517ac3d0271d11d5e8ca69a6a2a97a857f..3fc19a91cfc0447170e8177a6f5fb47cdbf72074 100644 (file)
@@ -72,7 +72,7 @@ public:
        {
                _dialog = new wxMessageDialog (
                        0,
-                       std_to_wx (String::compose (wx_to_std (_("Save changes to film \"%1\" before closing?")), film->name())),
+                       wxString::Format (_("Save changes to film \"%s\" before closing?"), std_to_wx (film->name ()).data()),
                        _("Film changed"),
                        wxYES_NO | wxYES_DEFAULT | wxICON_QUESTION
                        );