Fix vertical layout calculations when newline has line-height property
commit6cf8f0b74e45cec12756e99d3735e3906c515c5c
authorEli Zaretskii <eliz@gnu.org>
Tue, 21 Jun 2016 13:14:10 +0000 (21 16:14 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 21 Jun 2016 13:14:10 +0000 (21 16:14 +0300)
tree2ccf0fcf2e186524d71cb21154cd8d26306f6116
parent560c4ab1c32eacc48f62e4176a1e9fb10ac7665b
Fix vertical layout calculations when newline has line-height property

* src/xdisp.c (move_it_in_display_line_to): Reset the iterator's
'constrain_row_ascent_descent_p' flag after processing the
newline, similar to what 'display_line' does.  Without this, the
flag remains set once set by x_produce_glyphs, and causes the
vertical layout calculations to go awry, because Emacs thinks the
screen lines have zero height. (Bug#23850)
src/xdisp.c