ENH: bad bug bad

This commit is contained in:
Sebastien Barre 2007-10-09 15:20:30 -04:00
parent 35e13b11f3
commit 4e54f93501

View File

@ -3379,7 +3379,7 @@ bool SystemTools::LocateFileInDir(const char *filename,
} }
temp += filename_base; temp += filename_base;
if (SystemTools::FileExists(filename_found.c_str())) if (SystemTools::FileExists(temp.c_str()))
{ {
res = true; res = true;
filename_found = temp; filename_found = temp;