# HG changeset patch # User Gerd Moellmann # Date 982240087 0 # Node ID 1dfaaf6d616675b3c6c729a40c060078b5272131 # Parent 2645b62e0d00588b223f60e68aab1d59fa55e527 (update_text_area): Undo change of 2001-01-12. diff -r 2645b62e0d00 -r 1dfaaf6d6166 src/dispnew.c --- a/src/dispnew.c Thu Feb 15 10:12:44 2001 +0000 +++ b/src/dispnew.c Thu Feb 15 12:28:07 2001 +0000 @@ -4244,18 +4244,18 @@ int overlapping_glyphs_p = current_row->contains_overlapping_glyphs_p; int desired_stop_pos = desired_row->used[TEXT_AREA]; -#if 0 /* This shouldn't be necessary. Let's check it. */ /* If the desired row extends its face to the text area end, make sure we write at least one glyph, so that the face extension actually takes place. */ if (MATRIX_ROW_EXTENDS_FACE_P (desired_row)) --desired_stop_pos; -#endif stop = min (current_row->used[TEXT_AREA], desired_stop_pos); i = 0; x = desired_row->x; - + + /* Loop over glyphs that current and desired row may have + in common. */ while (i < stop) { int can_skip_p = 1; @@ -4362,13 +4362,11 @@ /* Maybe clear to end of line. */ if (MATRIX_ROW_EXTENDS_FACE_P (desired_row)) { -#if 0 /* If new row extends to the end of the text area, nothing has to be cleared, if and only if we did a write_glyphs above. This is made sure by setting desired_stop_pos appropriately above. */ xassert (i < desired_row->used[TEXT_AREA]); -#endif } else if (MATRIX_ROW_EXTENDS_FACE_P (current_row)) {