mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 17:01:17 +01:00
[subset] Fix Windows issue on endlines (#756)
This commit is contained in:
1 parent
f41b92134a
commit
70e13ade81
1 file changed
+1
-1
+1
-1
@@ -57,7 +57,7 @@ struct subset_consumer_t
|
||||
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;
|
||||
|
||||
Reference in new issue
Block a user