diff --git a/module/Library/System/Dir.hpp b/module/Library/System/Dir.hpp index 49a2623c..32615be8 100644 --- a/module/Library/System/Dir.hpp +++ b/module/Library/System/Dir.hpp @@ -594,7 +594,7 @@ public: #if defined(UNICODE) || defined(_UNICODE) return String(mHandle->extension, mHandle->extension + std::wcslen(mHandle->extension)); #else - return String(mHandle->name); + return String(mHandle->extension); #endif } };