comparison src/xdisp.c @ 37024:ef2237e681b5

(init_from_display_pos): Remove unwarranted assertion.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 27 Mar 2001 16:51:40 +0000
parents 25f0d349e50b
children da4aab5d8b60
comparison
equal deleted inserted replaced
37023:6c6a28eb5f35 37024:ef2237e681b5
1808 display_line and elsewhere immediately after consuming the 1808 display_line and elsewhere immediately after consuming the
1809 newline before the row start, such a POS will not be in a string, 1809 newline before the row start, such a POS will not be in a string,
1810 but the call to init_iterator below will move us to the 1810 but the call to init_iterator below will move us to the
1811 after-string. */ 1811 after-string. */
1812 init_iterator (it, w, charpos, bytepos, NULL, DEFAULT_FACE_ID); 1812 init_iterator (it, w, charpos, bytepos, NULL, DEFAULT_FACE_ID);
1813 xassert (IT_CHARPOS (*it) == CHARPOS (pos->pos));
1814 1813
1815 /* If position is within an overlay string, set up IT to 1814 /* If position is within an overlay string, set up IT to
1816 the right overlay string. */ 1815 the right overlay string. */
1817 if (pos->overlay_string_index >= 0) 1816 if (pos->overlay_string_index >= 0)
1818 { 1817 {