changeset 17191:36caec9c2e52

(insert_glyphs): Fix a bug which turns up when TS_ins_multi_chars is 0.
author Kenichi Handa <handa@m17n.org>
date Wed, 19 Mar 1997 16:32:46 +0000
parents 6637001cdb4b
children ce9a6d97e157
files src/term.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c	Tue Mar 18 23:31:34 1997 +0000
+++ b/src/term.c	Wed Mar 19 16:32:46 1997 +0000
@@ -944,7 +944,7 @@
   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;