summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cross.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc
index b9b215303..e3fb22f39 100644
--- 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
}