Commit 5cacdcfd authored by Kim F. Storm's avatar Kim F. Storm

(increment_row_positions): Skip non-enabled rows.

parent ab89a403
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment