diff options
author | Jim Blandy <jimb@redhat.com> | 1992-12-24 06:13:57 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1992-12-24 06:13:57 +0000 |
commit | 2b4473bda5bf91ab398564552523737eac0c0839 (patch) | |
tree | 6fc8cae898d0aabf3ff005e4f31298c3bfcdedde /src/scroll.c | |
parent | 15a5286a71221c0063a12bc457f2bc796dbaae99 (diff) | |
download | emacs-2b4473bda5bf91ab398564552523737eac0c0839.tar.gz |
* 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.
Diffstat (limited to 'src/scroll.c')
-rw-r--r-- | src/scroll.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |