From d246ee8430dce0a5d0b8c5f298c54eef347dc650 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Fri, 28 Jan 2022 15:23:48 +0200 Subject: [PATCH] Update Dir.hpp --- module/Library/System/Dir.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } };