diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-02-05 22:04:15 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-02-05 22:04:15 +0200 |
commit | a6f23c226e601d6682f057056fe4c7a069a9f69a (patch) | |
tree | 10855b7527ee13866086031a1d4f402a386fb7a8 | |
parent | 0484879d3b0f81222bacbc3c9655d1cfcdb5d321 (diff) | |
download | emacs-a6f23c226e601d6682f057056fe4c7a069a9f69a.tar.gz |
; * src/xdisp.c (Fwindow_text_pixel_size): Fix comment.
-rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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. */ |