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
commit07109bf9edbd302f64167529c6b735d3a737a44e (patch)
tree4a660945c739048338f205c7b61c41cc1d021de7 /src/term.c
parent467e7675540bdf5f21379a0ee5d7f92627e3ead3 (diff)
downloademacs-07109bf9edbd302f64167529c6b735d3a737a44e.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;