未验证 提交 70e13ade 编写于 作者: E Ebrahim Byagowi 提交者: GitHub

[subset] Fix Windows issue on endlines (#756)

上级 f41b9213
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册