[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 07ead60: ; * src/xdisp.c (Fwindow_text_pixel_size): Another minor
From: |
Eli Zaretskii |
Subject: |
master 07ead60: ; * src/xdisp.c (Fwindow_text_pixel_size): Another minor fix. |
Date: |
Fri, 5 Feb 2021 07:28:17 -0500 (EST) |
branch: master
commit 07ead60a822580b1dd3d8b3a5f6730d486b57cb3
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; * 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 4db981aa..7647357 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 07ead60: ; * src/xdisp.c (Fwindow_text_pixel_size): Another minor fix.,
Eli Zaretskii <=