From c3e22144e1f2c28d3dffe4d750923c9f6ae8d528 Mon Sep 17 00:00:00 2001 From: OV2 Date: Sat, 5 May 2018 00:52:46 +0200 Subject: [PATCH] Open bml files in binary mode --- bml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;