diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-01-17 07:46:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-01-17 07:46:22 +0100 |
| commit | 8459b5cfb0c8adeef176a34e5b301bc18471a80b (patch) | |
| tree | c7a4fa3725f11cae3e9a3d9f52fc17dbd300b75e /src | |
| parent | f93696cefc00c8aee96871f06f6c2f3cbb930767 (diff) | |
Build fix for Windows.
Diffstat (limited to 'src')
| -rw-r--r-- | src/tools/dcpomatic.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index 82da55698..deaa15afd 100644 --- 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 = dialog.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) { |
