Commit d7b8ee68 authored by Ken Raeburn's avatar Ken Raeburn
Browse files

dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window height before

comparison.
(WINDOW_WANTS_HEADER_LINE_P): Likewise.
parent c3c14723
2002-01-20 Ken Raeburn <raeburn@gnu.org>
* dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window
height before comparison.
(WINDOW_WANTS_HEADER_LINE_P): Likewise.
2002-01-20 Jason Rumney <jasonr@gnu.org>
 
* w32term.c (w32_system_caret_width): Remove.
......
......@@ -1117,7 +1117,7 @@ extern struct glyph_row scratch_glyph_row;
&& FRAME_WANTS_MODELINE_P (XFRAME (WINDOW_FRAME ((W)))) \
&& BUFFERP ((W)->buffer) \
&& !NILP (XBUFFER ((W)->buffer)->mode_line_format) \
&& (W)->height > 1)
&& XFASTINT ((W)->height) > 1)
/* Value is non-zero if window W wants a header line. */
......@@ -1127,7 +1127,7 @@ extern struct glyph_row scratch_glyph_row;
&& FRAME_WANTS_MODELINE_P (XFRAME (WINDOW_FRAME ((W)))) \
&& BUFFERP ((W)->buffer) \
&& !NILP (XBUFFER ((W)->buffer)->header_line_format) \
&& (W)->height > 1 + !NILP (XBUFFER ((W)->buffer)->mode_line_format))
&& XFASTINT ((W)->height) > 1 + !NILP (XBUFFER ((W)->buffer)->mode_line_format))
/***********************************************************************
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment