correctly.
(string_byte_to_char): Likesize.
while (best_above_byte > 0
&& !CHAR_HEAD_P (XSTRING (string)->data[best_above_byte]))
best_above_byte--;
- if (XSTRING (string)->data[best_above_byte] < 0x80)
+ if (!BASE_LEADING_CODE_P (XSTRING (string)->data[best_above_byte]))
best_above_byte = best_above_byte_saved;
best_above--;
}
while (best_above_byte > 0
&& !CHAR_HEAD_P (XSTRING (string)->data[best_above_byte]))
best_above_byte--;
- if (XSTRING (string)->data[best_above_byte] < 0x80)
+ if (!BASE_LEADING_CODE_P (XSTRING (string)->data[best_above_byte]))
best_above_byte = best_above_byte_saved;
best_above--;
}