From 07ead60a822580b1dd3d8b3a5f6730d486b57cb3 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 5 Feb 2021 14:27:46 +0200 Subject: [PATCH] ; * src/xdisp.c (Fwindow_text_pixel_size): Another minor fix. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2