comparison src/dispnew.c @ 27083:6bffb46bd7fc

(mode_line_string): Support termcap frames as well.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 02 Jan 2000 12:06:14 +0000
parents 9a33a5066a27
children 9400865ec7cf
comparison
equal deleted inserted replaced
27082:c68892f03670 27083:6bffb46bd7fc
5150 struct glyph *glyph, *end; 5150 struct glyph *glyph, *end;
5151 struct frame *f = XFRAME (w->frame); 5151 struct frame *f = XFRAME (w->frame);
5152 int x0; 5152 int x0;
5153 Lisp_Object string = Qnil; 5153 Lisp_Object string = Qnil;
5154 5154
5155 /* Only do this for frames under a window system and MS-DOS frames. */
5156 if (!FRAME_WINDOW_P (f) && !FRAME_MSDOS_P (f))
5157 return Qnil;
5158
5159 if (mode_line_p) 5155 if (mode_line_p)
5160 row = MATRIX_MODE_LINE_ROW (w->current_matrix); 5156 row = MATRIX_MODE_LINE_ROW (w->current_matrix);
5161 else 5157 else
5162 row = MATRIX_HEADER_LINE_ROW (w->current_matrix); 5158 row = MATRIX_HEADER_LINE_ROW (w->current_matrix);
5163 5159