Fix logic in 'compute_window_start_on_continuation_line'
* src/xdisp.c (compute_window_start_on_continuation_line): Fix a thinko in logic. Patch by dickmao <dick.r.chiang@gmail.com>. (Bug#52378)
This commit is contained in:
parent
8f3f785c55
commit
c0b9041ebd
1 changed files with 1 additions and 1 deletions
|
@ -18089,7 +18089,7 @@ compute_window_start_on_continuation_line (struct window *w)
|
|||
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)))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue