diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2007-10-09 19:20:30 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2007-10-09 19:20:30 (GMT) |
commit | 4e54f93501f671f331c45cfdbee4d0af96beabea (patch) | |
tree | 59539cba30dc7fd576adc2ee99ded3a2e1201a96 /Source | |
parent | 35e13b11f3cce42944e367543b082e7774201e50 (diff) | |
download | CMake-4e54f93501f671f331c45cfdbee4d0af96beabea.zip CMake-4e54f93501f671f331c45cfdbee4d0af96beabea.tar.gz CMake-4e54f93501f671f331c45cfdbee4d0af96beabea.tar.bz2 |
ENH: bad bug bad
Diffstat (limited to 'Source')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index d7dfda6..e878185 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -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; |