don't try lowercasing ×

This commit is contained in:
dzaima 2023-03-20 18:18:16 +02:00
parent b0201131e2
commit e14a3629f6

View File

@ -1122,7 +1122,7 @@ static NOINLINE B name_normalize(B x) {
COPY_TO(rp, el_c32, 0, x, 0, i);
while (i < ia) {
u32 c = o2cG(GetU(x, i));
rp[i] = name_isUpper(c)? c+32 : c;
rp[i] = name_isUpper(c) && c!=U'×'? c+32 : c;
i++;
}
return C2(slash, C2(ne, x, m_c32('_')), r);