(code_convert_region): Fix the secoding arg to
authorKenichi Handa <handa@m17n.org>
Wed, 15 Dec 1999 12:49:36 +0000 (12:49 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 15 Dec 1999 12:49:36 +0000 (12:49 +0000)
update_compositions.

src/ChangeLog
src/coding.c

index 0254aa3..df9ad99 100644 (file)
@@ -1,3 +1,8 @@
+1999-12-15  Kenichi Handa  <handa@etl.go.jp>
+
+       * coding.c (code_convert_region): Fix the secoding arg to
+       update_compositions.
+
 1999-12-15  Kenichi Handa  <handa@etl.go.jp>
 
        The following changes are for the new composition mechanism.  We
index 14fb12d..5077fa9 100644 (file)
@@ -4959,7 +4959,7 @@ code_convert_region (from, from_byte, to, to_byte, coding, encodep, replace)
   if (replace)
     {
       signal_after_change (from, to - from, inserted);
-      update_compositions (from, to, CHECK_BORDER);
+      update_compositions (from, from + inserted, CHECK_BORDER);
     }
 
   {