summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/interop_subtitle_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interop_subtitle_asset.cc b/src/interop_subtitle_asset.cc
index f3552abe..ce3a4943 100644
--- a/src/interop_subtitle_asset.cc
+++ b/src/interop_subtitle_asset.cc
@@ -192,7 +192,7 @@ InteropSubtitleAsset::load_font_nodes () const
void
InteropSubtitleAsset::write (boost::filesystem::path p) const
{
- File f(p, "w");
+ File f(p, "wb");
if (!f) {
throw FileError ("Could not open file for writing", p, -1);
}