From: Kenichi Handa Date: Wed, 2 Feb 2005 00:57:33 +0000 (+0000) Subject: (casify_region): Fix previous change. X-Git-Tag: ttn-vms-21-2-B4~2476 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cc4ff429a07a84a041f7d399c42fbe3510f0112f;p=emacs.git (casify_region): Fix previous change. --- 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)