forked from len0rd/rockbox
Fix Win32 native convttf creating invalid output files.
When operating with binary files on Windows it is necessary to explicitly open them in binary mode to prevent unwanted effects. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29699 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7adc200564
commit
b66239b436
1 changed files with 1 additions and 1 deletions
|
@ -921,7 +921,7 @@ void convttf(char* path, char* destfile, FT_Long face_index)
|
|||
char_name,converted_char_count,done); fflush(stdout);
|
||||
}
|
||||
|
||||
file = fopen(destfile, "w");
|
||||
file = fopen(destfile, "wb");
|
||||
printf("Writing %s\n", destfile);
|
||||
|
||||
/* font info */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue