From ed5d25fe5e9ffce2359ba166d277570e87c959e6 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 5 Mar 2002 00:07:19 +0000 Subject: [PATCH] (casify_region): Fix multibyte case. --- src/casefiddle.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/casefiddle.c b/src/casefiddle.c index 790ae1e53bb..0f060b8a0ae 100644 --- a/src/casefiddle.c +++ b/src/casefiddle.c @@ -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), -- 2.39.5