Open with rb instead of r in OpenDataFile to avoid potential problems with Windows.
This commit is contained in:
parent
7af658f089
commit
959c37ead7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue