]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/xdisp.c (Fwindow_text_pixel_size): Fix comment.
authorEli Zaretskii <eliz@gnu.org>
Fri, 5 Feb 2021 20:04:15 +0000 (22:04 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 5 Feb 2021 20:04:15 +0000 (22:04 +0200)
src/xdisp.c

index 764735769b4ec21b73f1d1c1fae17b6ee788adc8..1815f986781ef0eb58a07fb13d6613b1648fed0d 100644 (file)
@@ -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.  */