diff --git a/Nuake/src/Core/FileSystem.cpp b/Nuake/src/Core/FileSystem.cpp index 4d995c10..989b0cd8 100644 --- a/Nuake/src/Core/FileSystem.cpp +++ b/Nuake/src/Core/FileSystem.cpp @@ -329,7 +329,7 @@ namespace Nuake std::string FileSystem::GetFileNameFromPath(const std::string& path) { - const auto& split = String::Split(path, '\\'); + const auto& split = String::Split(path, '/'); return String::Split(split[split.size() - 1], '.')[0]; }