Open bml files in binary mode

This commit is contained in:
OV2 2018-05-05 00:52:46 +02:00
parent 4cdb8f6e65
commit c3e22144e1
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ bml_node *bml_parse_file (const char *filename)
int file_size = 0; int file_size = 0;
bml_node *node = NULL; bml_node *node = NULL;
file = fopen (filename, "r"); file = fopen (filename, "rb");
if (!file) if (!file)
return NULL; return NULL;