mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Changed \\ to /
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user