mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-06-17 14:02:12 +00:00
fix: normalizing asset names trims whitespace (#825)
This commit is contained in:
@@ -108,6 +108,7 @@ std::string XAssetInfoGeneric::NormalizeAssetName(std::string input)
|
|||||||
utils::MakeStringLowerCase(input);
|
utils::MakeStringLowerCase(input);
|
||||||
|
|
||||||
std::ranges::replace(input, '\\', '/');
|
std::ranges::replace(input, '\\', '/');
|
||||||
|
utils::StringTrim(input);
|
||||||
|
|
||||||
return input;
|
return input;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user