aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 719b131baa1..7ee42918eb6 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -24608,10 +24608,9 @@ display_line (struct it *it, int cursor_vpos)
24608 walking there. */ 24608 walking there. */
24609 ptrdiff_t chars_to_skip = 24609 ptrdiff_t chars_to_skip =
24610 it->first_visible_x / FRAME_COLUMN_WIDTH (it->f); 24610 it->first_visible_x / FRAME_COLUMN_WIDTH (it->f);
24611 enum move_it_result rc = 24611 move_result = fast_move_it_horizontally (it, chars_to_skip);
24612 fast_move_it_horizontally (it, chars_to_skip);
24613 24612
24614 if (rc == MOVE_X_REACHED) 24613 if (move_result == MOVE_X_REACHED)
24615 it->current_x = it->first_visible_x; 24614 it->current_x = it->first_visible_x;
24616 else /* use arbitrary value < first_visible_x */ 24615 else /* use arbitrary value < first_visible_x */
24617 it->current_x = it->first_visible_x - FRAME_COLUMN_WIDTH (it->f); 24616 it->current_x = it->first_visible_x - FRAME_COLUMN_WIDTH (it->f);