Commit 938ee340 authored by Sebastien Barre's avatar Sebastien Barre
Browse files

ENH: bad bug bad

parent 19428fca
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment