diff options
| author | Kim F. Storm | 2005-08-16 14:58:16 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2005-08-16 14:58:16 +0000 |
| commit | 5cacdcfdc7faf0af9d586a7e8a1f44f532c1aaa7 (patch) | |
| tree | ce9dd82752f7ee3ce533927937e0dcdf3c79aa82 | |
| parent | ab89a403fadf48970d4ee86998b2ef3608d19dfc (diff) | |
| download | emacs-5cacdcfdc7faf0af9d586a7e8a1f44f532c1aaa7.tar.gz emacs-5cacdcfdc7faf0af9d586a7e8a1f44f532c1aaa7.zip | |
(increment_row_positions): Skip non-enabled rows.
| -rw-r--r-- | src/dispnew.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index a5057273bfe..3f7d55b2477 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -1185,6 +1185,9 @@ increment_row_positions (row, delta, delta_bytes) | |||
| 1185 | MATRIX_ROW_END_CHARPOS (row) += delta; | 1185 | MATRIX_ROW_END_CHARPOS (row) += delta; |
| 1186 | MATRIX_ROW_END_BYTEPOS (row) += delta_bytes; | 1186 | MATRIX_ROW_END_BYTEPOS (row) += delta_bytes; |
| 1187 | 1187 | ||
| 1188 | if (!row->enabled_p) | ||
| 1189 | return; | ||
| 1190 | |||
| 1188 | /* Increment positions in glyphs. */ | 1191 | /* Increment positions in glyphs. */ |
| 1189 | for (area = 0; area < LAST_AREA; ++area) | 1192 | for (area = 0; area < LAST_AREA; ++area) |
| 1190 | for (i = 0; i < row->used[area]; ++i) | 1193 | for (i = 0; i < row->used[area]; ++i) |