summaryrefslogtreecommitdiff
path: root/src/term.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1997-03-19 16:32:46 +0000
committerKenichi Handa <handa@m17n.org>1997-03-19 16:32:46 +0000
commit9f45e89d3a33c698fa4c7634c095d5e24e72dc7d (patch)
treef7feb76e2620ab23f9a50a37bed48fadd72c18b2 /src/term.c
parenta549539882d5a5aa32e764cb0fa8494aab615b6b (diff)
downloademacs-9f45e89d3a33c698fa4c7634c095d5e24e72dc7d.tar.gz
(insert_glyphs): Fix a bug which turns up when
TS_ins_multi_chars is 0.
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c
index df7f86cba92..2d8123fda97 100644
--- a/src/term.c
+++ b/src/term.c
@@ -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;