1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00

(increment_row_positions): Skip non-enabled rows.

This commit is contained in:
Kim F. Storm 2005-08-16 14:58:16 +00:00
parent ab89a403fa
commit 5cacdcfdc7

View 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)