From 0df8f481dde9b46c8566db6b432191f374cd578c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 14 Aug 2022 09:34:37 +0300 Subject: [PATCH] ; * src/xdisp.c (display_line): Fix a typo. --- src/xdisp.c | 5 ++--- 1 file 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) walking there. */ ptrdiff_t chars_to_skip = it->first_visible_x / FRAME_COLUMN_WIDTH (it->f); - enum move_it_result rc = - fast_move_it_horizontally (it, chars_to_skip); + move_result = fast_move_it_horizontally (it, chars_to_skip); - if (rc == MOVE_X_REACHED) + if (move_result == MOVE_X_REACHED) it->current_x = it->first_visible_x; else /* use arbitrary value < first_visible_x */ it->current_x = it->first_visible_x - FRAME_COLUMN_WIDTH (it->f); -- 2.39.5