+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.
&& 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. */
&& 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))
\f
/***********************************************************************