]> git.eshelyaron.com Git - emacs.git/commitdiff
(casify_region): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Wed, 2 Feb 2005 00:57:33 +0000 (00:57 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 2 Feb 2005 00:57:33 +0000 (00:57 +0000)
src/casefiddle.c

index 4505f477c90fd100a79fc7e015a2b9d8e073711f..9af4015fbb3e0be4056296996e785400c8f9d4e5 100644 (file)
@@ -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)