summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Logging/LogManager.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2022-01-17 11:43:50 +0100
committerGitHub <noreply@github.com>2022-01-17 11:43:50 +0100
commitb7e55e2d52e181b2943a337c8ddc7e6021819935 (patch)
treec55774af52802324951f27b5b1eea616303fb95a /Source/Core/Common/Logging/LogManager.cpp
parente62771856092cd9bbc25c8c94c433ed0e55a9f3f (diff)
parent43e146a1d5c327d49fdacddb7a5a7e7f0307fab8 (diff)
Merge pull request #10368 from Pokechu22/gamelist-lowercase-extension
GameList: Convert file extensions to lowercase
Diffstat (limited to 'Source/Core/Common/Logging/LogManager.cpp')
-rw-r--r--Source/Core/Common/Logging/LogManager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/Common/Logging/LogManager.cpp b/Source/Core/Common/Logging/LogManager.cpp
index 64f1786975..a7b0b010ea 100644
--- a/Source/Core/Common/Logging/LogManager.cpp
+++ b/Source/Core/Common/Logging/LogManager.cpp
@@ -101,8 +101,7 @@ static size_t DeterminePathCutOffPoint()
constexpr const char* pattern2 = "\\source\\core\\";
#endif
std::string path = __FILE__;
- std::transform(path.begin(), path.end(), path.begin(),
- [](char c) { return std::tolower(c, std::locale::classic()); });
+ Common::ToLower(&path);
size_t pos = path.find(pattern);
#ifdef _WIN32
if (pos == std::string::npos)