From e5b042aab89a797c2e7523beadb6f1cc4467c7c4 Mon Sep 17 00:00:00 2001 From: Bobby Battista Date: Sat, 3 Oct 2026 19:57:37 -0400 Subject: [PATCH] build(filesystem): Fix non-Windows path normalization typo --- .../Source/StdDevice/Common/StdLocalFileSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/GameEngineDevice/Source/StdDevice/Common/StdLocalFileSystem.cpp b/Core/GameEngineDevice/Source/StdDevice/Common/StdLocalFileSystem.cpp index 796070c253e..f6c950dad06 100644 --- a/Core/GameEngineDevice/Source/StdDevice/Common/StdLocalFileSystem.cpp +++ b/Core/GameEngineDevice/Source/StdDevice/Common/StdLocalFileSystem.cpp @@ -331,7 +331,7 @@ AsciiString StdLocalFileSystem::normalizePath(const AsciiString& filePath) const std::string nonNormalized(filePath.str()); #ifndef _WIN32 // Replace backslashes with forward slashes on non-Windows platforms - std::replace(unNormalized.begin(), unNormalized.end(), '\\', '/'); + std::replace(nonNormalized.begin(), nonNormalized.end(), '\\', '/'); #endif std::filesystem::path pathNonNormalized(nonNormalized); return AsciiString(pathNonNormalized.lexically_normal().string().c_str());