diff options
author | Joseph Arceneaux <jla@gnu.org> | 1992-10-14 23:00:38 +0000 |
---|---|---|
committer | Joseph Arceneaux <jla@gnu.org> | 1992-10-14 23:00:38 +0000 |
commit | 881c357474c1df978496aef8a1e9b60c2ba4f158 (patch) | |
tree | b2f559aa005df1164cd31736df017105117c7b6a /src/scroll.c | |
parent | d6c02ef795d949627d95530da8b7c81ed153739b (diff) | |
download | emacs-881c357474c1df978496aef8a1e9b60c2ba4f158.tar.gz |
* 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/scroll.c')
-rw-r--r-- | src/scroll.c | 6 |
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) #ifdef HAVE_X_WINDOWS if (FRAME_X_P (frame)) { - bcopy (current_frame->nruns, temp_frame->nruns, - current_frame->height * sizeof (int)); - bcopy (current_frame->face_list, temp_frame->face_list, - current_frame->height * sizeof (struct run *)); bcopy (current_frame->top_left_x, temp_frame->top_left_x, current_frame->height * sizeof (short)); bcopy (current_frame->top_left_y, temp_frame->top_left_y, @@ -268,6 +264,8 @@ do_scrolling (frame, matrix, window_size, unchanged_at_top) current_frame->height * sizeof (short)); bcopy (current_frame->pix_height, temp_frame->pix_height, current_frame->height * sizeof (short)); + bcopy (current_frame->max_ascent, temp_frame->max_ascent, + current_frame->height * sizeof (int)); } #endif |