Fixed: Use absolute path of current directory instead of relative path (avoid to check more than once the same location)

--HG--
branch : develop
This commit is contained in:
kervala 2016-02-02 10:23:57 +01:00
parent 31e6bd1bb1
commit 0979b19e8e

View file

@ -659,7 +659,7 @@ static void addPaths(IProgressCallback &progress, const std::vector<std::string>
std::vector<std::string> directoryPrefixes; std::vector<std::string> directoryPrefixes;
// current directory has priority everywhere // current directory has priority everywhere
directoryPrefixes.push_back(""); directoryPrefixes.push_back(CPath::standardizePath(CPath::getCurrentPath()));
#if defined(NL_OS_WINDOWS) #if defined(NL_OS_WINDOWS)
// check in same directory as executable // check in same directory as executable