Commit ed5d25fe authored by Kenichi Handa's avatar Kenichi Handa

(casify_region): Fix multibyte case.

parent e2cc40b7
......@@ -254,7 +254,8 @@ casify_region (flag, b, e)
changed = 1;
/* Handle the most likely case */
if (c < 0400 && c2 < 0400)
if (multibyte ? (c < 0200 && c2 < 0200)
: (c < 0400 && c2 < 0400))
FETCH_BYTE (i) = c2;
else if (fromlen = CHAR_STRING (c, str),
tolen = CHAR_STRING (c2, str),
......
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