if ((macro_f_utf_char_t_to_char_1(sequence) & 0b11100000) == 0b11000000) {
// Only first byte ranges 0xc2 or greater are valid.
- if (macro_f_utf_char_t_to_char_2(sequence) < 0xc2) {
+ if (macro_f_utf_char_t_to_char_1(sequence) < 0xc2) {
return F_false;
}
if ((first & 0b11100000) == 0b11000000) {
// Only first byte ranges 0xc2 or greater are valid.
- if (second < 0xc2) {
+ if (first < 0xc2) {
assert_int_equal(status, F_false);
continue;
if ((first & 0b11100000) == 0b11000000) {
// Only first byte ranges 0xc2 or greater are valid.
- if (second < 0xc2) {
+ if (first < 0xc2) {
assert_int_equal(status, F_false);
continue;