# HG changeset patch # User Kenichi Handa # Date 890885402 0 # Node ID 2601d6057ec6d919af6587eb8b8125bc237133d5 # Parent 1c0712c77155904da92e500b2e33c0babf0b6cc3 (redisplay_window): Fix previous change. diff -r 1c0712c77155 -r 2601d6057ec6 src/xdisp.c --- a/src/xdisp.c Wed Mar 25 19:16:31 1998 +0000 +++ b/src/xdisp.c Thu Mar 26 04:10:02 1998 +0000 @@ -2031,14 +2031,16 @@ clipped to the window edges. */ && !(last_point_x <= 0 && hscroll)) { - pos = *compute_motion (XFASTINT (w->last_point), - last_point_y, last_point_x, 0, + int last_point = XFASTINT (w->last_point); + int last_point_byte = CHAR_TO_BYTE (last_point); + + pos = *compute_motion (last_point, last_point_y, last_point_x, 0, PT, height, /* BUG FIX: See the comment of Fpos_visible_in_window_p (window.c). */ - (1 << (BITS_PER_SHORT - 1)), width, hscroll, - pos_tab_offset (w, startp, startp_byte), + pos_tab_offset (w, last_point, last_point_byte), w); } else