From cc4ff429a07a84a041f7d399c42fbe3510f0112f Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 2 Feb 2005 00:57:33 +0000 Subject: [PATCH] (casify_region): Fix previous change. --- src/casefiddle.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/casefiddle.c b/src/casefiddle.c index 4505f477c90..9af4015fbb3 100644 --- a/src/casefiddle.c +++ b/src/casefiddle.c @@ -255,7 +255,8 @@ casify_region (flag, b, e) start + 1, i + fromlen, str, 1, tolen, 1); - opoint_byte += tolen - fromlen; + if (opoint > start) + opoint_byte += tolen - fromlen; } } if ((int) flag >= (int) CASE_CAPITALIZE) -- 2.39.5