From: Eli Zaretskii Date: Fri, 5 Feb 2021 12:27:46 +0000 (+0200) Subject: ; * src/xdisp.c (Fwindow_text_pixel_size): Another minor fix. X-Git-Tag: emacs-28.0.90~3919 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=07ead60a822580b1dd3d8b3a5f6730d486b57cb3;p=emacs.git ; * src/xdisp.c (Fwindow_text_pixel_size): Another minor fix. --- diff --git a/src/xdisp.c b/src/xdisp.c index 4db981aa655..764735769b4 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -10777,7 +10777,7 @@ include the height of both, if present, in the return value. */) /* If text spans more than one screen line, we don't need to adjust the x-span for start_x, since the second and subsequent lines will begin at zero X coordinate. */ - if (it.current_y > 0) + if (it.current_y > start_y) start_x = 0; /* Subtract height of header-line which was counted automatically by