aboutsummaryrefslogtreecommitdiffstats
path: root/src/scroll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scroll.c')
-rw-r--r--src/scroll.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/scroll.c b/src/scroll.c
index cbab971fd35..12c3828b33c 100644
--- a/src/scroll.c
+++ b/src/scroll.c
@@ -264,7 +264,7 @@ do_scrolling (frame, matrix, window_size, unchanged_at_top)
264 bcopy (current_frame->glyphs, temp_frame->glyphs, 264 bcopy (current_frame->glyphs, temp_frame->glyphs,
265 current_frame->height * sizeof (GLYPH *)); 265 current_frame->height * sizeof (GLYPH *));
266 bcopy (current_frame->charstarts, temp_frame->charstarts, 266 bcopy (current_frame->charstarts, temp_frame->charstarts,
267 current_frame->height * sizeof (GLYPH *)); 267 current_frame->height * sizeof (int *));
268 bcopy (current_frame->used, temp_frame->used, 268 bcopy (current_frame->used, temp_frame->used,
269 current_frame->height * sizeof (int)); 269 current_frame->height * sizeof (int));
270 bcopy (current_frame->highlight, temp_frame->highlight, 270 bcopy (current_frame->highlight, temp_frame->highlight,
@@ -889,6 +889,7 @@ scrolling_max_lines_saved (start, end, oldhash, newhash, cost)
889 These are the same arguments that might be given to 889 These are the same arguments that might be given to
890 scroll_frame_lines to perform this scrolling. */ 890 scroll_frame_lines to perform this scrolling. */
891 891
892int
892scroll_cost (frame, from, to, amount) 893scroll_cost (frame, from, to, amount)
893 FRAME_PTR frame; 894 FRAME_PTR frame;
894 int from, to, amount; 895 int from, to, amount;
@@ -1008,6 +1009,7 @@ ins_del_costs (frame,
1008 Deletion is essentially the same as insertion. 1009 Deletion is essentially the same as insertion.
1009 */ 1010 */
1010 1011
1012void
1011do_line_insertion_deletion_costs (frame, 1013do_line_insertion_deletion_costs (frame,
1012 ins_line_string, multi_ins_string, 1014 ins_line_string, multi_ins_string,
1013 del_line_string, multi_del_string, 1015 del_line_string, multi_del_string,