commit | 70e13ade81a2a09e17d75bdc7e3fe45d8ec9e2c6 | [log] [tgz] |
---|---|---|
author | Ebrahim Byagowi <ebrahim@gnu.org> | Tue Feb 06 13:20:38 2018 +0330 |
committer | GitHub <noreply@github.com> | Tue Feb 06 13:20:38 2018 +0330 |
tree | d66b6f05426740177e556403a909dd45f3432676 | |
parent | f41b92134a276716b7e2d7ef54996b30f36a10a9 [diff] [blame] |
[subset] Fix Windows issue on endlines (#756)
diff --git a/util/hb-subset.cc b/util/hb-subset.cc index ef70a2d..27398ab 100644 --- a/util/hb-subset.cc +++ b/util/hb-subset.cc
@@ -57,7 +57,7 @@ unsigned int data_length; const char* data = hb_blob_get_data (blob, &data_length); - FILE *fp_out = fopen(output_file, "w"); + FILE *fp_out = fopen(output_file, "wb"); if (fp_out == nullptr) { fprintf(stderr, "Unable to open output file\n"); return false;