projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b9a756
)
Try to fix Windows build.
author
Carl Hetherington
<cth@carlh.net>
Thu, 30 Apr 2015 21:41:27 +0000
(22:41 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 30 Apr 2015 21:41:27 +0000
(22:41 +0100)
src/lib/cross.cc
patch
|
blob
|
history
diff --git
a/src/lib/cross.cc
b/src/lib/cross.cc
index 7f95d1f71885fd07f172d53ddc3c1e928335005e..9894d885f1cea6e0c7a3a7e8f7d9d02a66d8b735 100644
(file)
--- a/
src/lib/cross.cc
+++ b/
src/lib/cross.cc
@@
-161,7
+161,8
@@
shared_path ()
wchar_t dir[512];
GetModuleFileName (GetModuleHandle (0), dir, sizeof (dir));
PathRemoveFileSpec (dir);
- return dir.parent_path();
+ boost::filesystem::path path = dir;
+ return path.parent_path();
#endif
#ifdef DCPOMATIC_OSX
return app_contents();