comparison 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
comparison
equal deleted inserted replaced
1409:7fd1c810daca 1410:9b29df8c7cb3
254 current_frame->height * sizeof (int)); 254 current_frame->height * sizeof (int));
255 255
256 #ifdef HAVE_X_WINDOWS 256 #ifdef HAVE_X_WINDOWS
257 if (FRAME_X_P (frame)) 257 if (FRAME_X_P (frame))
258 { 258 {
259 bcopy (current_frame->nruns, temp_frame->nruns,
260 current_frame->height * sizeof (int));
261 bcopy (current_frame->face_list, temp_frame->face_list,
262 current_frame->height * sizeof (struct run *));
263 bcopy (current_frame->top_left_x, temp_frame->top_left_x, 259 bcopy (current_frame->top_left_x, temp_frame->top_left_x,
264 current_frame->height * sizeof (short)); 260 current_frame->height * sizeof (short));
265 bcopy (current_frame->top_left_y, temp_frame->top_left_y, 261 bcopy (current_frame->top_left_y, temp_frame->top_left_y,
266 current_frame->height * sizeof (short)); 262 current_frame->height * sizeof (short));
267 bcopy (current_frame->pix_width, temp_frame->pix_width, 263 bcopy (current_frame->pix_width, temp_frame->pix_width,
268 current_frame->height * sizeof (short)); 264 current_frame->height * sizeof (short));
269 bcopy (current_frame->pix_height, temp_frame->pix_height, 265 bcopy (current_frame->pix_height, temp_frame->pix_height,
270 current_frame->height * sizeof (short)); 266 current_frame->height * sizeof (short));
267 bcopy (current_frame->max_ascent, temp_frame->max_ascent,
268 current_frame->height * sizeof (int));
271 } 269 }
272 #endif 270 #endif
273 271
274 i = j = window_size; 272 i = j = window_size;
275 273