From 07109bf9edbd302f64167529c6b735d3a737a44e Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 19 Mar 1997 16:32:46 +0000 Subject: [PATCH] (insert_glyphs): Fix a bug which turns up when TS_ins_multi_chars is 0. --- src/term.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5