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 | 08b879b49fded655c005ae35e8151de940f13211 (patch) | |
tree | 7908566ff6080c9fb0b0a731e9021f0035119e5f /src/scroll.c | |
parent | ea73629837d38426ceddf9d967dd009102113ece (diff) | |
download | emacs-08b879b49fded655c005ae35e8151de940f13211.tar.gz emacs-08b879b49fded655c005ae35e8151de940f13211.tar.bz2 emacs-08b879b49fded655c005ae35e8151de940f13211.zip |
* 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 |