summaryrefslogtreecommitdiff
path: root/tools/convttf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/convttf.c')
-rw-r--r--tools/convttf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/convttf.c b/tools/convttf.c
index b0284ec85f..66f0ad2176 100644
--- a/tools/convttf.c
+++ b/tools/convttf.c
@@ -921,7 +921,7 @@ void convttf(char* path, char* destfile, FT_Long face_index)
921 char_name,converted_char_count,done); fflush(stdout); 921 char_name,converted_char_count,done); fflush(stdout);
922 } 922 }
923 923
924 file = fopen(destfile, "w"); 924 file = fopen(destfile, "wb");
925 printf("Writing %s\n", destfile); 925 printf("Writing %s\n", destfile);
926 926
927 /* font info */ 927 /* font info */