Commit b10d420d authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(UNIBYTE_STR_AS_MULTIBYTE_P): Fix previous change.

parent a3d8fcf2
......@@ -448,8 +448,8 @@ extern int width_by_char_head[256];
(((str)[0] < 0x80 || (str)[0] >= 0xA0) \
? (bytes) = 1 \
: (((bytes) = BYTES_BY_CHAR_HEAD ((str)[0])), \
((str)[0] != LEADING_CODE_8_BIT_CONTROL \
&& (bytes) <= (length) \
((bytes) > 1 && (bytes) <= (length) \
&& (str)[0] != LEADING_CODE_8_BIT_CONTROL \
&& !CHAR_HEAD_P ((str)[1]) \
&& ((bytes) == 2 \
|| (!CHAR_HEAD_P ((str)[2]) \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment