Open with rb instead of r in OpenDataFile to avoid potential problems with Windows.

This commit is contained in:
Nadia Holmquist Pedersen 2019-12-04 22:54:30 +01:00
parent 7af658f089
commit 959c37ead7
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ FILE* OpenLocalFile(const char* path, const char* mode)
FILE* OpenDataFile(const char* path)
{
return OpenLocalFile(path, "r");
return OpenLocalFile(path, "rb");
}
#endif