projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6600d2b
)
Fix corruption of font files on Windows.
author
Carl Hetherington
<cth@carlh.net>
Tue, 18 Aug 2015 12:32:03 +0000
(13:32 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 18 Aug 2015 12:32:03 +0000
(13:32 +0100)
src/interop_subtitle_asset.cc
patch
|
blob
|
history
diff --git
a/src/interop_subtitle_asset.cc
b/src/interop_subtitle_asset.cc
index 620fed7362d6d1bc206d20326d7de8ab27219506..fbdd839b81218b2876ef6568a603c8b2583d7796 100644
(file)
--- a/
src/interop_subtitle_asset.cc
+++ b/
src/interop_subtitle_asset.cc
@@
-159,7
+159,7
@@
InteropSubtitleAsset::write (boost::filesystem::path p) const
BOOST_FOREACH (shared_ptr<InteropLoadFontNode> i, _load_font_nodes) {
boost::filesystem::path file = p.parent_path() / i->uri;
- FILE* f = fopen_boost (file, "w");
+ FILE* f = fopen_boost (file, "w
b
");
if (!f) {
throw FileError ("could not open font file for writing", file, errno);
}