diff src/dispnew.c @ 28708:4e2497e6757e

(increment_matrix_positions): Renamed from increment_glyph_matrix_buffer_positions. (increment_row_positions): Renamed from increment_glyph_row_buffer_positions.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 25 Apr 2000 19:39:59 +0000
parents f05d48759416
children 5ccfe8a1638f
line wrap: on
line diff
--- a/src/dispnew.c	Tue Apr 25 19:38:48 2000 +0000
+++ b/src/dispnew.c	Tue Apr 25 19:39:59 2000 +0000
@@ -781,8 +781,7 @@
    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 @@
   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 @@
    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 @@
 	     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 @@
     }
       
   /* 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;