|
|
@ -279,7 +279,7 @@ char *FioFindFullPath(char *buf, size_t buflen, Subdirectory subdir, const char
|
|
|
|
/* Be, as opening files, aware that sometimes the filename
|
|
|
|
/* Be, as opening files, aware that sometimes the filename
|
|
|
|
* might be in uppercase when it is in lowercase on the
|
|
|
|
* might be in uppercase when it is in lowercase on the
|
|
|
|
* disk. Ofcourse Windows doesn't care about casing. */
|
|
|
|
* disk. Ofcourse Windows doesn't care about casing. */
|
|
|
|
strtolower(buf + ((subdir == NO_DIRECTORY) ? 0 : strlen(_searchpaths[sp]) - 1));
|
|
|
|
strtolower(buf + strlen(_searchpaths[sp]) - 1);
|
|
|
|
if (FileExists(buf)) break;
|
|
|
|
if (FileExists(buf)) break;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|