aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)
944 cmplus (len); 944 cmplus (len);
945 /* The field `last_block' should be set to 1 only at the tail. */ 945 /* The field `last_block' should be set to 1 only at the tail. */
946 terminal_coding.last_block = 0; 946 terminal_coding.last_block = 0;
947 while (len > 0) 947 while (len-- > 0)
948 { 948 {
949 int produced, consumed; 949 int produced, consumed;
950 950