diff options
| author | Eli Zaretskii | 2022-08-14 09:34:37 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2022-08-14 09:34:37 +0300 |
| commit | 0df8f481dde9b46c8566db6b432191f374cd578c (patch) | |
| tree | 12b084f4bcce19b9052d2b2907788b1c5fa1b7ef /src | |
| parent | 47e23ad7a82bd707dedcd17425e89e8024b5a763 (diff) | |
| download | emacs-0df8f481dde9b46c8566db6b432191f374cd578c.tar.gz emacs-0df8f481dde9b46c8566db6b432191f374cd578c.zip | |
; * src/xdisp.c (display_line): Fix a typo.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 5 |
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); |