]> git.eshelyaron.com Git - emacs.git/commitdiff
(increment_row_positions): Skip non-enabled rows.
authorKim F. Storm <storm@cua.dk>
Tue, 16 Aug 2005 14:58:16 +0000 (14:58 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 16 Aug 2005 14:58:16 +0000 (14:58 +0000)
src/dispnew.c

index a5057273bfe3f5cedce2b9203aa372c8acf8b133..3f7d55b2477dba6b4307b5875424bb5c31b1e728 100644 (file)
@@ -1185,6 +1185,9 @@ increment_row_positions (row, delta, delta_bytes)
   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)