changeset 65003:74ab28cf1192

(increment_row_positions): Skip non-enabled rows.
author Kim F. Storm <storm@cua.dk>
date Tue, 16 Aug 2005 14:58:16 +0000
parents 95ce0b21684b
children bc5cf5fc0f9e
files src/dispnew.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Tue Aug 16 14:57:30 2005 +0000
+++ b/src/dispnew.c	Tue Aug 16 14:58:16 2005 +0000
@@ -1185,6 +1185,9 @@
   MATRIX_ROW_END_CHARPOS (row) += delta;
   MATRIX_ROW_END_BYTEPOS (row) += delta_bytes;
 
+  if (!row->enabled_p)
+    return;
+
   /* Increment positions in glyphs.  */
   for (area = 0; area < LAST_AREA; ++area)
     for (i = 0; i < row->used[area]; ++i)