projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e51605
)
More OS X debugging.
author
Carl Hetherington
<cth@carlh.net>
Sun, 13 Oct 2013 02:02:30 +0000
(
03:02
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 13 Oct 2013 02:02:30 +0000
(
03:02
+0100)
src/lib/cross.cc
patch
|
blob
|
history
diff --git
a/src/lib/cross.cc
b/src/lib/cross.cc
index 30fe887f80787297fa46b6f908d3dd1099097dd9..ac94e8015af3554473424d8f672690f5cef8fef0 100644
(file)
--- a/
src/lib/cross.cc
+++ b/
src/lib/cross.cc
@@
-127,10
+127,11
@@
app_contents ()
}
boost::filesystem::path path (buffer);
+ path = boost::filesystem::canonical (path);
std::cout << "start " << path << "\n";
- path
.remove_filename
();
+ path
= path.parent_path
();
std::cout << "then " << path << "\n";
- path
.remove_filename
();
+ path
= path.parent_path
();
std::cout << "and then " << path << "\n";
return path;
}