# HG changeset patch # User Joseph Arceneaux # Date 719103638 0 # Node ID 9b29df8c7cb39b9c6d45b5f1e55693b6107bf183 # Parent 7fd1c810daca735d351e38731cc321f745eb40b4 * scroll.c (do_scrolling): Don't bcopy non-existant `nruns' or `face_list' elements. Do copy new `max_ascent' frame element. diff -r 7fd1c810daca -r 9b29df8c7cb3 src/scroll.c --- 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