From 86c11ba1c88dd4184e9285fddf4499ecbdffcc9a Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 25 Apr 2000 19:39:59 +0000 Subject: [PATCH] (increment_matrix_positions): Renamed from increment_glyph_matrix_buffer_positions. (increment_row_positions): Renamed from increment_glyph_row_buffer_positions. --- src/dispnew.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/dispnew.c b/src/dispnew.c index 7bd57182b3c..10d208958cb 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -781,8 +781,7 @@ rotate_matrix (matrix, first, last, by) DELTA_BYTES. */ void -increment_glyph_matrix_buffer_positions (matrix, start, end, delta, - delta_bytes) +increment_matrix_positions (matrix, start, end, delta, delta_bytes) struct glyph_matrix *matrix; int start, end, delta, delta_bytes; { @@ -792,8 +791,7 @@ increment_glyph_matrix_buffer_positions (matrix, start, end, delta, xassert (start <= end); for (; start < end; ++start) - increment_glyph_row_buffer_positions (matrix->rows + start, - delta, delta_bytes); + increment_row_positions (matrix->rows + start, delta, delta_bytes); } @@ -1030,7 +1028,7 @@ blank_row (w, row, y) ends. */ void -increment_glyph_row_buffer_positions (row, delta, delta_bytes) +increment_row_positions (row, delta, delta_bytes) struct glyph_row *row; int delta, delta_bytes; { @@ -1154,7 +1152,7 @@ copy_glyph_row_contents (to, from, delta, delta_bytes) from->used[area] * sizeof (struct glyph)); /* Increment buffer positions in TO by DELTA. */ - increment_glyph_row_buffer_positions (to, delta, delta_bytes); + increment_row_positions (to, delta, delta_bytes); } @@ -3278,10 +3276,10 @@ direct_output_for_insert (g) } /* Adjust positions in lines following the one we are in. */ - increment_glyph_matrix_buffer_positions (w->current_matrix, - w->cursor.vpos + 1, - w->current_matrix->nrows, - delta, delta_bytes); + increment_matrix_positions (w->current_matrix, + w->cursor.vpos + 1, + w->current_matrix->nrows, + delta, delta_bytes); glyph_row->contains_overlapping_glyphs_p |= it.glyph_row->contains_overlapping_glyphs_p; -- 2.39.5