Fix fopen() file mode in fileio_fmt_autodetect()
This commit is contained in:
parent
2f2a6c0008
commit
ea2d7eec95
|
@ -1335,7 +1335,7 @@ int fileio_fmt_autodetect(const char * fname)
|
|||
int found;
|
||||
int first = 1;
|
||||
|
||||
#if defined(WIN32)
|
||||
#if !defined(WIN32)
|
||||
f = fopen(fname, "r");
|
||||
#else
|
||||
f = fopen(fname, "rb");
|
||||
|
|
Loading…
Reference in New Issue