From: Eduardo DAVILA Date: Fri, 5 Feb 2016 09:36:52 +0000 (+0100) Subject: #2814 BBTK Bug New Normal std FilesFromDirectory box is not working in windows X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=e7e2b2d876b585350b2f993b0866454cc5aa704a;p=bbtk.git #2814 BBTK Bug New Normal std FilesFromDirectory box is not working in windows --- diff --git a/packages/std/src/bbstdFilesFromDirectory.cxx b/packages/std/src/bbstdFilesFromDirectory.cxx index b85757f..b40f1fb 100644 --- a/packages/std/src/bbstdFilesFromDirectory.cxx +++ b/packages/std/src/bbstdFilesFromDirectory.cxx @@ -122,7 +122,8 @@ int FilesFromDirectory::Explore(std::string const &dirpath, bool recursive) } else { - std::string temp = "\"" +dirName+fileName + "\""; +// std::string temp = "\"" +dirName+fileName + "\""; + std::string temp = dirName+fileName; std::string::size_type spacePosition = temp.find_first_of(' '); if (spacePosition != std::string::npos) {