From c0d3b2f75cd1ef0d4b45442ab073d8cd0a448a08 Mon Sep 17 00:00:00 2001 From: dickmao Date: Wed, 8 Dec 2021 16:11:34 -0500 Subject: [PATCH] A common error * src/xdisp.c (compute_window_start_on_continuation_line): Align code with comment. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 0ff6286af74..0fed93106df 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -18088,7 +18088,7 @@ compute_window_start_on_continuation_line (struct window *w) case point will not be visible with any window start we compute. */ if (IT_CHARPOS (it) <= PT - || (CHARPOS (start_pos) - IT_CHARPOS (it) + && (CHARPOS (start_pos) - IT_CHARPOS (it) /* PXW: Do we need upper bounds here? */ < WINDOW_TOTAL_LINES (w) * WINDOW_TOTAL_COLS (w))) { -- 2.26.2