Fix bad chars.
authorCarl Hetherington <cth@carlh.net>
Sat, 13 Oct 2018 23:05:36 +0000 (00:05 +0100)
committerCarl Hetherington <cth@carlh.net>
Sat, 13 Oct 2018 23:05:36 +0000 (00:05 +0100)
src/tools/dcpomatic.cc

index 4354e079e4d320b41f89b6cd15ea4d556fdde2e7..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) {