]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/xdisp.c (display_line): Fix a typo.
authorEli Zaretskii <eliz@gnu.org>
Sun, 14 Aug 2022 06:34:37 +0000 (09:34 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 14 Aug 2022 06:34:37 +0000 (09:34 +0300)
src/xdisp.c

index 719b131baa1e4da52a8679f52d36d6832bf05ec6..7ee42918eb689a0e7972d209248743fee3f228f6 100644 (file)
@@ -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);