(replace_range): Fix previous change.
authorKenichi Handa <handa@m17n.org>
Sat, 31 Oct 1998 05:24:11 +0000 (05:24 +0000)
committerKenichi Handa <handa@m17n.org>
Sat, 31 Oct 1998 05:24:11 +0000 (05:24 +0000)
src/insdel.c

index 7ec6f25..3806d38 100644 (file)
@@ -1876,7 +1876,9 @@ replace_range (from, to, new, prepare, inherit, markers)
       *(GPT_ADDR) = 0;         /* Put an anchor.  */
       if (markers)
        adjust_markers_for_insert (from, from_byte, to, to_byte, 0, 0, 0);
+      UNGCPRO;
       byte_combining_error ();
+      GCPRO1 (new);
     }
 
   /* Record deletion of the surrounding text that combines with