From 4e54f93501f671f331c45cfdbee4d0af96beabea Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Tue, 9 Oct 2007 15:20:30 -0400 Subject: ENH: bad bug bad --- Source/kwsys/SystemTools.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12