From: Kenichi Handa Date: Wed, 19 Mar 1997 16:32:46 +0000 (+0000) Subject: (insert_glyphs): Fix a bug which turns up when X-Git-Tag: emacs-20.1~2754 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=07109bf9edbd302f64167529c6b735d3a737a44e;p=emacs.git (insert_glyphs): Fix a bug which turns up when TS_ins_multi_chars is 0. --- 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;