Commit 125f517a authored by Joseph Arceneaux's avatar Joseph Arceneaux

* scroll.c (do_scrolling): Don't bcopy non-existant `nruns' or

	`face_list' elements.  Do copy new `max_ascent' frame element.
parent 9f2279ad
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment