summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-options.cpp')
-rw-r--r--source/slang/slang-options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp
index 92ae637b1..c642c196a 100644
--- a/source/slang/slang-options.cpp
+++ b/source/slang/slang-options.cpp
@@ -341,7 +341,7 @@ struct OptionsParser
void addOutputPath(char const* inPath)
{
String path = String(inPath);
- String ext = Path::getFileExt(path);
+ String ext = Path::getPathExt(path);
if (ext == "slang-module" || ext == "slang-lib")
{