mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Merge pull request #1547 from Azaezel/alpha41/nixFixProbePoke
fix filename referencing for isfile on unix derivative o/s's
This commit is contained in:
commit
3bb948b431
|
|
@ -1008,8 +1008,11 @@ bool Platform::isFile(const char *pFilePath)
|
|||
{
|
||||
MungePath(pathName, MaxPath, pFilePath, GetPrefDir());
|
||||
}
|
||||
else
|
||||
|
||||
if (Torque::FS::IsFile(pathName) == false)
|
||||
{
|
||||
//clear pathName for reusage
|
||||
dStrncpy(pathName, "\n", MaxPath);
|
||||
// here if the path is absolute or not in the pref dir
|
||||
MungePath(pathName, MaxPath, pFilePath, cwd);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue