diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index f4324caa9bc..1a4493583c7 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -842,6 +842,12 @@ window_box_height (w) | |||
| 842 | 842 | ||
| 843 | xassert (height >= 0); | 843 | xassert (height >= 0); |
| 844 | 844 | ||
| 845 | /* Note: the code below that determines the mode-line/header-line | ||
| 846 | height is essentially the same as that contained in the macro | ||
| 847 | CURRENT_{MODE,HEADER}_LINE_HEIGHT, except that it checks whether | ||
| 848 | the appropriate glyph row has its `mode_line_p' flag set, | ||
| 849 | and if it doesn't, uses estimate_mode_line_height instead. */ | ||
| 850 | |||
| 845 | if (WINDOW_WANTS_MODELINE_P (w)) | 851 | if (WINDOW_WANTS_MODELINE_P (w)) |
| 846 | { | 852 | { |
| 847 | struct glyph_row *ml_row | 853 | struct glyph_row *ml_row |