From e8f5bd4725ab4e564be73bc2e63d2bd836033e92 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 14 Oct 2018 00:05:36 +0100 Subject: [PATCH] Fix bad chars. --- src/tools/dcpomatic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index 4354e079e..4d6a289b5 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -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) { -- 2.30.2