projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix errors when referencing trimmed DCPs (#2116).
[dcpomatic.git]
/
src
/
lib
/
cross_linux.cc
diff --git
a/src/lib/cross_linux.cc
b/src/lib/cross_linux.cc
index 2fcec28910013fea3ef54cfc8519cbb5a49272ad..ee49d50bc8ef8972da9f13d25b7f90680fc49396 100644
(file)
--- a/
src/lib/cross_linux.cc
+++ b/
src/lib/cross_linux.cc
@@
-379,11
+379,14
@@
Drive::unmount ()
boost::filesystem::path
-config_path ()
+config_path (
optional<string> version
)
{
boost::filesystem::path p;
p /= g_get_user_config_dir ();
p /= "dcpomatic2";
+ if (version) {
+ p /= *version;
+ }
return p;
}