character, don't put the identical conversion into the
uppercase/lowercase table in UTF-2000.
{
unsigned char lowered = tolower (i);
- SET_TRT_TABLE_CHAR_1 (tem, i, lowered);
+ if (lowered != i)
+ SET_TRT_TABLE_CHAR_1 (tem, i, lowered);
}
#ifdef UTF2000
unsigned char flipped = (isupper (i) ? tolower (i)
: (islower (i) ? toupper (i) : i));
- SET_TRT_TABLE_CHAR_1 (tem, i, flipped);
+ if (flipped != i)
+ SET_TRT_TABLE_CHAR_1 (tem, i, flipped);
}
}