diff options
author | Kenichi Handa <handa@m17n.org> | 2005-02-02 00:57:33 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2005-02-02 00:57:33 +0000 |
commit | cc4ff429a07a84a041f7d399c42fbe3510f0112f (patch) | |
tree | 9f32951148f6084e5c4b021beeab255a18c2b1dc /src/casefiddle.c | |
parent | e1e89a70b9a54fa5dc2365398ef4df2eb5944b2a (diff) | |
download | emacs-cc4ff429a07a84a041f7d399c42fbe3510f0112f.tar.gz |
(casify_region): Fix previous change.
Diffstat (limited to 'src/casefiddle.c')
-rw-r--r-- | src/casefiddle.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) |