summaryrefslogtreecommitdiffstats
path: root/source/core/slang-platform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/slang-platform.cpp')
-rw-r--r--source/core/slang-platform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-platform.cpp b/source/core/slang-platform.cpp
index 9185559a2..f28a25f7f 100644
--- a/source/core/slang-platform.cpp
+++ b/source/core/slang-platform.cpp
@@ -69,7 +69,7 @@ SLANG_COMPILE_TIME_ASSERT(E_OUTOFMEMORY == SLANG_E_OUT_OF_MEMORY);
String pathString = String::fromWString(path);
// We don't want the instance name, just the path to it
- out.Clear();
+ out.clear();
out.append(Path::getParentDirectory(pathString));
return out.getLength() > 0 ? SLANG_OK : SLANG_FAIL;