projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e45fe28
)
Create ~/.config/dcpomatic if required; should fix #228.
author
Carl Hetherington
<cth@carlh.net>
Wed, 16 Oct 2013 21:54:58 +0000
(22:54 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 16 Oct 2013 21:54:58 +0000
(22:54 +0100)
src/lib/config.cc
patch
|
blob
|
history
diff --git
a/src/lib/config.cc
b/src/lib/config.cc
index 1a97eaa0d450bf81dab9cbdb2610736fdea5040c..582a14c51f101f38069cac979381322a77a476fa 100644
(file)
--- a/
src/lib/config.cc
+++ b/
src/lib/config.cc
@@
-232,6
+232,7
@@
Config::file (bool old) const
p /= ".dvdomatic";
} else {
p /= "dcpomatic";
+ boost::filesystem::create_directory (p, ec);
p /= "config.xml";
}
return p;