diff --git a/bml.cpp b/bml.cpp index 3f597b72..adbef915 100644 --- a/bml.cpp +++ b/bml.cpp @@ -366,7 +366,7 @@ bml_node *bml_parse_file (const char *filename) int file_size = 0; bml_node *node = NULL; - file = fopen (filename, "r"); + file = fopen (filename, "rb"); if (!file) return NULL;