aboutsummaryrefslogtreecommitdiffstats
path: root/src/floatfns.c
diff options
context:
space:
mode:
authorPaul Eggert2015-07-27 23:36:48 -0700
committerPaul Eggert2015-07-27 23:40:27 -0700
commit1216f7332d18248017835b1b01ded6345b51b976 (patch)
tree5f877f9ac22b4a789d95a29b8413ad6ced83f366 /src/floatfns.c
parentf5dc3cf21cf6d6f51c096262225fcb96a8a7f126 (diff)
downloademacs-1216f7332d18248017835b1b01ded6345b51b976.tar.gz
emacs-1216f7332d18248017835b1b01ded6345b51b976.zip
Fix subscript error in calculate_direct_scrolling
Use slightly-longer cost vectors. Without this change, calculate_direct_scrolling can have a subscript violation when FRAME_LINES (frame) <= delta. * src/scroll.c (calculate_scrolling, calculate_direct_scrolling) (line_ins_del, do_line_insertion_deletion_costs): Allocate and use slightly-larger cost vectors, ones based on FRAME_TOTAL_LINES instead of FRAME_LINES.
Diffstat (limited to 'src/floatfns.c')
0 files changed, 0 insertions, 0 deletions