diff options
Diffstat (limited to 'tools/slang-test/options.cpp')
| -rw-r--r-- | tools/slang-test/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/slang-test/options.cpp b/tools/slang-test/options.cpp index 693d1939c..17e424127 100644 --- a/tools/slang-test/options.cpp +++ b/tools/slang-test/options.cpp @@ -294,10 +294,10 @@ static bool _isSubCommand(const char* arg) if (optionsOut->binDir.Length() == 0) { // If the binDir isn't set try using the path to the executable - String exePath = Path::GetExecutablePath(); + String exePath = Path::getExecutablePath(); if (exePath.Length()) { - optionsOut->binDir = Path::GetDirectoryName(exePath); + optionsOut->binDir = Path::getParentDirectory(exePath); } } |
