Use tolower in ToLowerAscii()

This commit is contained in:
Gymnasiast committed 2026-10-11 12:10:02 +02:00
1 parent 6e4431451f
commit 70f11d3b00
1 file changed
+1 -2
+1 -2
View File
@@ -94,8 +94,7 @@ static u8string ToLowerAscii(u8string_view str)
u8string result(str);
for (auto& c : result)
{
if (c >= 'A' && c <= 'Z')
c += 'a' - 'A';
c = tolower(c);
}
return result;
}