changeset 59856:4832f1833501

(casify_region): Fix previous change.
author Kenichi Handa <handa@m17n.org>
date Wed, 02 Feb 2005 00:57:33 +0000
parents e1f57074406e
children 0d95042c8121
files src/casefiddle.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/casefiddle.c	Wed Feb 02 00:57:07 2005 +0000
+++ b/src/casefiddle.c	Wed Feb 02 00:57:33 2005 +0000
@@ -255,7 +255,8 @@
 				   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)