more minor polish there and here

This commit is contained in:
2025-11-11 16:07:02 -05:00
parent 2a671e2623
commit d9a05947c0
20 changed files with 221 additions and 81 deletions

View File

@@ -32,7 +32,8 @@ namespace anm2ed::util::filesystem
std::filesystem::path path_lower_case_backslash_handle(std::filesystem::path& path)
{
if (path_is_exist(path)) return path;
if (path_is_exist(string::backslash_replace(path))) return path;
path = string::backslash_replace(path);
if (path_is_exist(path)) return path;
return string::to_lower(path);
}