Fix crash when using playback logging.
[dcpomatic.git] / src / tools / dcpomatic.cc
index 181ac83c46301d1346700c080ccd2a1e8d76e06a..4d6a289b5e301baa193b73176ef9dbb696e7ba72 100644 (file)
@@ -480,7 +480,7 @@ private:
                                new_film (d->path(), d->template_name());
                        } catch (boost::filesystem::filesystem_error& e) {
 #ifdef DCPOMATIC_WINDOWS
-                               string bad_chars = "<>:\"/\\|?*";
+                               string bad_chars = "<>:\"/|?*";
                                string const filename = d->path().string();
                                string found_bad_chars;
                                for (size_t i = 0; i < bad_chars.length(); ++i) {
@@ -491,7 +491,7 @@ private:
                                wxString message = _("Could not create folder to store film.");
                                if (!found_bad_chars.empty()) {
                                        message += "  ";
-                                       message += wxString::Format (_("Try removing the %s characters from your folder name.", std_to_wx(found_bad_chars).data()));
+                                       message += wxString::Format (_("Try removing the %s characters from your folder name."), std_to_wx(found_bad_chars).data());
                                }
                                error_dialog (this, message, std_to_wx(e.what()));
 #else