From: Carl Hetherington Date: Sat, 13 Oct 2018 23:05:36 +0000 (+0100) Subject: Fix bad chars. X-Git-Tag: v2.13.61~1 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=e8f5bd4725ab4e564be73bc2e63d2bd836033e92;p=dcpomatic.git Fix bad chars. --- 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) {