projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f93696c
)
Build fix for Windows.
author
Carl Hetherington
<cth@carlh.net>
Tue, 17 Jan 2023 06:46:22 +0000
(07:46 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 17 Jan 2023 06:46:22 +0000
(07:46 +0100)
src/tools/dcpomatic.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic.cc
b/src/tools/dcpomatic.cc
index 82da556980979bcede966283370f35a900af68f1..deaa15afd05343ce438ce2247f912c74c09fc92c 100644
(file)
--- a/
src/tools/dcpomatic.cc
+++ b/
src/tools/dcpomatic.cc
@@
-567,7
+567,7
@@
private:
} catch (boost::filesystem::filesystem_error& e) {
#ifdef DCPOMATIC_WINDOWS
string bad_chars = "<>:\"/|?*";
- string const filename = d
->
path().filename().string();
+ string const filename = d
ialog.
path().filename().string();
string found_bad_chars;
for (size_t i = 0; i < bad_chars.length(); ++i) {
if (filename.find(bad_chars[i]) != string::npos && found_bad_chars.find(bad_chars[i]) == string::npos) {