From d9c9e99cfac2f2e0b1ba75cb3dbdf57c8c222c24 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 15 Dec 2000 01:51:26 +0000 Subject: [PATCH] (window_box_height): Add comment. --- src/xdisp.c | 6 ++++++ 1 file changed, 6 insertions(+) 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) xassert (height >= 0); + /* Note: the code below that determines the mode-line/header-line + height is essentially the same as that contained in the macro + CURRENT_{MODE,HEADER}_LINE_HEIGHT, except that it checks whether + the appropriate glyph row has its `mode_line_p' flag set, + and if it doesn't, uses estimate_mode_line_height instead. */ + if (WINDOW_WANTS_MODELINE_P (w)) { struct glyph_row *ml_row -- 2.39.2