diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 2bc181bbab0..da6ec5e280b 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -2089,7 +2089,7 @@ redisplay_window (window, just_this_one, preserve_echo_area) | |||
| 2089 | int tab_offset = (pos_tab_offset (w, last_point, last_point_byte) | 2089 | int tab_offset = (pos_tab_offset (w, last_point, last_point_byte) |
| 2090 | - (last_point_x + hscroll - !! hscroll)); | 2090 | - (last_point_x + hscroll - !! hscroll)); |
| 2091 | 2091 | ||
| 2092 | pos = *compute_motion (last_point, last_point_y, last_point_x, 0, | 2092 | pos = *compute_motion (last_point, last_point_y, last_point_x, 1, |
| 2093 | PT, height, | 2093 | PT, height, |
| 2094 | /* BUG FIX: See the comment of | 2094 | /* BUG FIX: See the comment of |
| 2095 | Fpos_visible_in_window_p (window.c). */ | 2095 | Fpos_visible_in_window_p (window.c). */ |
| @@ -3457,7 +3457,7 @@ display_text_line (w, start, start_byte, vpos, hpos, taboffset, ovstr_done) | |||
| 3457 | ovstr += ovstr_done; | 3457 | ovstr += ovstr_done; |
| 3458 | ovlen -= ovstr_done; | 3458 | ovlen -= ovstr_done; |
| 3459 | 3459 | ||
| 3460 | while (ovlen > 0) | 3460 | while (ovlen > 0 && p1 < endp) |
| 3461 | { | 3461 | { |
| 3462 | int charset, cols; | 3462 | int charset, cols; |
| 3463 | GLYPH g; | 3463 | GLYPH g; |