changeset 1410:9b29df8c7cb3

* scroll.c (do_scrolling): Don't bcopy non-existant `nruns' or `face_list' elements. Do copy new `max_ascent' frame element.
author Joseph Arceneaux <jla@gnu.org>
date Wed, 14 Oct 1992 23:00:38 +0000
parents 7fd1c810daca
children 0b98dbec0738
files src/scroll.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/scroll.c	Wed Oct 14 23:00:18 1992 +0000
+++ b/src/scroll.c	Wed Oct 14 23:00:38 1992 +0000
@@ -256,10 +256,6 @@
 #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 @@
 	     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