diff options
| author | Ken Raeburn | 2002-01-21 01:51:27 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2002-01-21 01:51:27 +0000 |
| commit | d7b8ee68fd42eb76c1406626dbd2257f56dbca1c (patch) | |
| tree | a72f48c3824c57b956f7661ff03fbab10abf3576 /src/dispextern.h | |
| parent | c3c14723fa96fd582cfea0c98fb936f56ab6032b (diff) | |
| download | emacs-d7b8ee68fd42eb76c1406626dbd2257f56dbca1c.tar.gz emacs-d7b8ee68fd42eb76c1406626dbd2257f56dbca1c.zip | |
dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window height before
comparison.
(WINDOW_WANTS_HEADER_LINE_P): Likewise.
Diffstat (limited to 'src/dispextern.h')
| -rw-r--r-- | src/dispextern.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dispextern.h b/src/dispextern.h index 74726f02559..83f539c2804 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -1117,7 +1117,7 @@ extern struct glyph_row scratch_glyph_row; | |||
| 1117 | && FRAME_WANTS_MODELINE_P (XFRAME (WINDOW_FRAME ((W)))) \ | 1117 | && FRAME_WANTS_MODELINE_P (XFRAME (WINDOW_FRAME ((W)))) \ |
| 1118 | && BUFFERP ((W)->buffer) \ | 1118 | && BUFFERP ((W)->buffer) \ |
| 1119 | && !NILP (XBUFFER ((W)->buffer)->mode_line_format) \ | 1119 | && !NILP (XBUFFER ((W)->buffer)->mode_line_format) \ |
| 1120 | && (W)->height > 1) | 1120 | && XFASTINT ((W)->height) > 1) |
| 1121 | 1121 | ||
| 1122 | /* Value is non-zero if window W wants a header line. */ | 1122 | /* Value is non-zero if window W wants a header line. */ |
| 1123 | 1123 | ||
| @@ -1127,7 +1127,7 @@ extern struct glyph_row scratch_glyph_row; | |||
| 1127 | && FRAME_WANTS_MODELINE_P (XFRAME (WINDOW_FRAME ((W)))) \ | 1127 | && FRAME_WANTS_MODELINE_P (XFRAME (WINDOW_FRAME ((W)))) \ |
| 1128 | && BUFFERP ((W)->buffer) \ | 1128 | && BUFFERP ((W)->buffer) \ |
| 1129 | && !NILP (XBUFFER ((W)->buffer)->header_line_format) \ | 1129 | && !NILP (XBUFFER ((W)->buffer)->header_line_format) \ |
| 1130 | && (W)->height > 1 + !NILP (XBUFFER ((W)->buffer)->mode_line_format)) | 1130 | && XFASTINT ((W)->height) > 1 + !NILP (XBUFFER ((W)->buffer)->mode_line_format)) |
| 1131 | 1131 | ||
| 1132 | 1132 | ||
| 1133 | /*********************************************************************** | 1133 | /*********************************************************************** |