projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6aa6b6
)
Try to fix Windows build.
author
Carl Hetherington
<cth@carlh.net>
Sat, 15 Dec 2018 11:25:28 +0000
(11:25 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 15 Dec 2018 11:25:28 +0000
(11:25 +0000)
src/lib/cross.cc
patch
|
blob
|
history
diff --git
a/src/lib/cross.cc
b/src/lib/cross.cc
index b9b2153030d81dc66f63382101f0c1f4848c3c15..e3fb22f3999544f69cd0be9be5e40b7e3fb2fb03 100644
(file)
--- a/
src/lib/cross.cc
+++ b/
src/lib/cross.cc
@@
-471,6
+471,6
@@
home_directory ()
return getenv("HOME");
#endif
#ifdef DCPOMATIC_WINDOWS
- return
getenv("HOMEDRIVE") / getenv("HOMEPATH"
);
+ return
boost::filesystem::path(getenv("HOMEDRIVE")) / boost::filesystem::path(getenv("HOMEPATH")
);
#endif
}