/* Strings, numbers and flags taken from the termcap entry. */
-char *TS_end_italic_mode; /* termcal "ae" */
+char *TS_end_italic_mode; /* termcap "ae" */
char *TS_ins_line; /* "al" */
char *TS_italic_mode; /* "as" */
char *TS_ins_multi_lines; /* "AL" (one parameter, # lines to insert) */
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;