From: Eli Zaretskii Date: Fri, 5 Feb 2021 20:04:15 +0000 (+0200) Subject: ; * src/xdisp.c (Fwindow_text_pixel_size): Fix comment. X-Git-Tag: emacs-28.0.90~3915 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a6f23c226e601d6682f057056fe4c7a069a9f69a;p=emacs.git ; * src/xdisp.c (Fwindow_text_pixel_size): Fix comment. --- diff --git a/src/xdisp.c b/src/xdisp.c index 764735769b4..1815f986781 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -10780,8 +10780,8 @@ include the height of both, if present, in the return value. */) if (it.current_y > start_y) start_x = 0; - /* Subtract height of header-line which was counted automatically by - start_display. */ + /* Subtract height of header-line and tab-line which was counted + automatically by start_display. */ y = it.current_y + it.max_ascent + it.max_descent - WINDOW_TAB_LINE_HEIGHT (w) - WINDOW_HEADER_LINE_HEIGHT (w); /* Don't return more than Y-LIMIT. */