From dd9827ff87f6a67fe9c4fdcd705d814db04239b3 Mon Sep 17 00:00:00 2001 From: barre Date: Tue, 9 Oct 2007 19:20:30 +0000 Subject: [PATCH] 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 1e00293f6..87bea6be9 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; -- 2.11.4.GIT