mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 21:11:39 +00:00
Fixed: Use absolute path of current directory instead of relative path (avoid to check more than once the same location)
This commit is contained in:
parent
690fa0b2e1
commit
e5c726d8f5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue