; * src/xdisp.c (Fwindow_text_pixel_size): Another minor fix.

This commit is contained in:
Eli Zaretskii 2021-02-05 14:27:46 +02:00
parent 764db69dd0
commit 07ead60a82

View file

@ -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