minor fix

This commit is contained in:
Arisotura
2020-05-17 13:04:02 +02:00
parent c5c9434ac9
commit 0566c9e34c
3 changed files with 7 additions and 68 deletions

View File

@ -202,7 +202,7 @@ FILE* OpenLocalFile(const char* path, const char* mode)
#ifdef __WIN32__
if (pathlen > 3)
{
if (path[1] == ':' && path[2] == '\\')
if (path[1] == ':' && (path[2] == '\\' || path[2] == '/'))
return OpenFile(path, mode);
}
#else