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 | 4935257ca1fbe9e791c721f2d6f8388ef352143e (patch) | |
tree | 602575c42dbfed1695a70cf60faae8ec66d1b86f /src/casefiddle.c | |
parent | 1468f995fdfd1257b36bf261629d94a2ce15fe3e (diff) | |
download | emacs-4935257ca1fbe9e791c721f2d6f8388ef352143e.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) |