Fix fopen() file mode in fileio_fmt_autodetect()

This commit is contained in:
Stefan Rueger 2022-11-29 19:46:48 +00:00
parent 2f2a6c0008
commit ea2d7eec95
No known key found for this signature in database
GPG Key ID: B0B4F1FD86B1EC55
1 changed files with 1 additions and 1 deletions

View File

@ -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");