emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master a6f23c2: ; * src/xdisp.c (Fwindow_text_pixel_size): Fix comment.


From: Eli Zaretskii
Subject: master a6f23c2: ; * src/xdisp.c (Fwindow_text_pixel_size): Fix comment.
Date: Fri, 5 Feb 2021 15:04:21 -0500 (EST)

branch: master
commit a6f23c226e601d6682f057056fe4c7a069a9f69a
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * src/xdisp.c (Fwindow_text_pixel_size): Fix comment.
---
 src/xdisp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index 7647357..1815f98 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.  */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]