]> code.delx.au - gnu-emacs/blobdiff - src/term.c
(get_keyelt): Handle an indirect entry with meta char.
[gnu-emacs] / src / term.c
index df7f86cba92e64c6a280401a2e5f727d26a2ebe3..322ac9d61747736125288906a0406e05250746b8 100644 (file)
@@ -198,7 +198,7 @@ void (*judge_scroll_bars_hook)( /* FRAME_PTR *FRAME */ );
 
 /* 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) */
@@ -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;