aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1998-03-26 04:10:02 +0000
committerKenichi Handa1998-03-26 04:10:02 +0000
commit5ffc0a807cd899c42bc158dfacb590ce83b63c3f (patch)
treecc0d756f206e48e29593df22be4f3e518b56a339 /src
parentc44968212e5699e7260ef77e87f42c3b073d09e6 (diff)
downloademacs-5ffc0a807cd899c42bc158dfacb590ce83b63c3f.tar.gz
emacs-5ffc0a807cd899c42bc158dfacb590ce83b63c3f.zip
(redisplay_window): Fix previous change.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index bc8d75e349a..9c881cb8b95 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -2031,14 +2031,16 @@ redisplay_window (window, just_this_one, preserve_echo_area)
2031 clipped to the window edges. */ 2031 clipped to the window edges. */
2032 && !(last_point_x <= 0 && hscroll)) 2032 && !(last_point_x <= 0 && hscroll))
2033 { 2033 {
2034 pos = *compute_motion (XFASTINT (w->last_point), 2034 int last_point = XFASTINT (w->last_point);
2035 last_point_y, last_point_x, 0, 2035 int last_point_byte = CHAR_TO_BYTE (last_point);
2036
2037 pos = *compute_motion (last_point, last_point_y, last_point_x, 0,
2036 PT, height, 2038 PT, height,
2037 /* BUG FIX: See the comment of 2039 /* BUG FIX: See the comment of
2038 Fpos_visible_in_window_p (window.c). */ 2040 Fpos_visible_in_window_p (window.c). */
2039 - (1 << (BITS_PER_SHORT - 1)), 2041 - (1 << (BITS_PER_SHORT - 1)),
2040 width, hscroll, 2042 width, hscroll,
2041 pos_tab_offset (w, startp, startp_byte), 2043 pos_tab_offset (w, last_point, last_point_byte),
2042 w); 2044 w);
2043 } 2045 }
2044 else 2046 else