diff src/scroll.c @ 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 861714452cb3
children 2a1dbc7de507
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