Browse Source

ENH: bad bug bad

Sebastien Barre 18 years ago
parent
commit
4e54f93501
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Source/kwsys/SystemTools.cxx

+ 1 - 1
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;