so there's no need to check the face here. */
it->start_of_box_run_p = true;
+ bool enough = false;
while (it->current_x < max_x)
{
int x, n_glyphs_before, i, nglyphs;
++i;
}
+ enough = ITERATOR_AT_END_OF_LINE_P (it);
+ set_iterator_to_next (it, true);
+
/* Stop at line end. */
- if (ITERATOR_AT_END_OF_LINE_P (it))
+ if (enough)
break;
-
- set_iterator_to_next (it, true);
}
out:;
{
it.glyph_row = temp_row;
display_tab_bar_line (&it, -1);
- /* If the tab-bar string includes newlines, get past it, because
- display_tab_bar_line doesn't. */
- if (ITERATOR_AT_END_OF_LINE_P (&it))
- set_iterator_to_next (&it, true);
}
clear_glyph_row (temp_row);
extra -= h;
}
display_tab_bar_line (&it, height + h);
- /* If the tab-bar string includes newlines, get past it,
- because display_tab_bar_line doesn't. */
- if (ITERATOR_AT_END_OF_LINE_P (&it))
- set_iterator_to_next (&it, true);
}
}
else