aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoseph Arceneaux1992-10-14 23:00:38 +0000
committerJoseph Arceneaux1992-10-14 23:00:38 +0000
commit125f517a5f8c34a2045801f8e26e7323cfea3f23 (patch)
tree7e0e16e8e9b5e71c573e2056533b4f4d06a64d90 /src
parent9f2279add745cb44f375017a980d00d86bbaaaaa (diff)
downloademacs-125f517a5f8c34a2045801f8e26e7323cfea3f23.tar.gz
emacs-125f517a5f8c34a2045801f8e26e7323cfea3f23.zip
* scroll.c (do_scrolling): Don't bcopy non-existant `nruns' or
`face_list' elements. Do copy new `max_ascent' frame element.
Diffstat (limited to 'src')
-rw-r--r--src/scroll.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/scroll.c b/src/scroll.c
index 190ff4ae2a6..09d8f4dde5f 100644
--- a/src/scroll.c
+++ b/src/scroll.c
@@ -256,10 +256,6 @@ do_scrolling (frame, matrix, window_size, unchanged_at_top)
256#ifdef HAVE_X_WINDOWS 256#ifdef HAVE_X_WINDOWS
257 if (FRAME_X_P (frame)) 257 if (FRAME_X_P (frame))
258 { 258 {
259 bcopy (current_frame->nruns, temp_frame->nruns,
260 current_frame->height * sizeof (int));
261 bcopy (current_frame->face_list, temp_frame->face_list,
262 current_frame->height * sizeof (struct run *));
263 bcopy (current_frame->top_left_x, temp_frame->top_left_x, 259 bcopy (current_frame->top_left_x, temp_frame->top_left_x,
264 current_frame->height * sizeof (short)); 260 current_frame->height * sizeof (short));
265 bcopy (current_frame->top_left_y, temp_frame->top_left_y, 261 bcopy (current_frame->top_left_y, temp_frame->top_left_y,
@@ -268,6 +264,8 @@ do_scrolling (frame, matrix, window_size, unchanged_at_top)
268 current_frame->height * sizeof (short)); 264 current_frame->height * sizeof (short));
269 bcopy (current_frame->pix_height, temp_frame->pix_height, 265 bcopy (current_frame->pix_height, temp_frame->pix_height,
270 current_frame->height * sizeof (short)); 266 current_frame->height * sizeof (short));
267 bcopy (current_frame->max_ascent, temp_frame->max_ascent,
268 current_frame->height * sizeof (int));
271 } 269 }
272#endif 270#endif
273 271