ENH: bad bug bad
This commit is contained in:
parent
35e13b11f3
commit
4e54f93501
|
@ -3379,7 +3379,7 @@ bool SystemTools::LocateFileInDir(const char *filename,
|
|||
}
|
||||
temp += filename_base;
|
||||
|
||||
if (SystemTools::FileExists(filename_found.c_str()))
|
||||
if (SystemTools::FileExists(temp.c_str()))
|
||||
{
|
||||
res = true;
|
||||
filename_found = temp;
|
||||
|
|
Loading…
Reference in New Issue