From 08b879b49fded655c005ae35e8151de940f13211 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Thu, 24 Dec 1992 06:13:57 +0000 Subject: * scroll.c (do_scrolling): When bcopying the max_ascent field from current_frame to temp_frame, remember that max_ascent is an array of shorts, not ints. --- src/scroll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scroll.c') diff --git a/src/scroll.c b/src/scroll.c index 09d8f4dde5f..954f92a24d6 100644 --- a/src/scroll.c +++ b/src/scroll.c @@ -265,7 +265,7 @@ do_scrolling (frame, matrix, window_size, unchanged_at_top) 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)); + current_frame->height * sizeof (short)); } #endif -- cgit v1.2.3