changeset 1714:2a1dbc7de507

* 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.
author Jim Blandy <jimb@redhat.com>
date Thu, 24 Dec 1992 06:13:57 +0000
parents c41aa7374103
children cd23f7ef1bd0
files src/scroll.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/scroll.c	Thu Dec 24 06:13:24 1992 +0000
+++ b/src/scroll.c	Thu Dec 24 06:13:57 1992 +0000
@@ -265,7 +265,7 @@
       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