]> git.eshelyaron.com Git - emacs.git/commitdiff
(insert_glyphs): Fix a bug which turns up when
authorKenichi Handa <handa@m17n.org>
Wed, 19 Mar 1997 16:32:46 +0000 (16:32 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 19 Mar 1997 16:32:46 +0000 (16:32 +0000)
TS_ins_multi_chars is 0.

src/term.c

index df7f86cba92e64c6a280401a2e5f727d26a2ebe3..2d8123fda97964e86bf2df9e8f62af281d4fc76d 100644 (file)
@@ -944,7 +944,7 @@ insert_glyphs (start, len)
   cmplus (len);
   /* The field `last_block' should be set to 1 only at the tail.  */
   terminal_coding.last_block = 0;
-  while (len > 0)
+  while (len-- > 0)
     {
       int produced, consumed;