summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/StringUtil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Src/StringUtil.cpp')
-rw-r--r--Source/Core/Common/Src/StringUtil.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/Common/Src/StringUtil.cpp b/Source/Core/Common/Src/StringUtil.cpp
index 001f6f51ee..7df5164698 100644
--- a/Source/Core/Common/Src/StringUtil.cpp
+++ b/Source/Core/Common/Src/StringUtil.cpp
@@ -360,6 +360,7 @@ bool SplitPath(const std::string& full_path, std::string* _pPath, std::string* _
if (_pExtension)
{
*_pExtension = full_path.substr(last_dot + 1);
+ _pExtension->insert(0, ".");
}
else if (_pFilename)
{