diff options
Diffstat (limited to 'render/layout.c')
-rw-r--r-- | render/layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/render/layout.c b/render/layout.c index 568a4da8b..4a6718fe1 100644 --- a/render/layout.c +++ b/render/layout.c @@ -2560,7 +2560,7 @@ bool layout_line(struct box *first, int *width, int *y, } for (d = first; d != b; d = d->next) { - d->inline_new_line = false; + d->flags &= ~NEW_LINE; if (d->type == BOX_INLINE_BLOCK && (css_computed_position(d->style) == @@ -2601,7 +2601,7 @@ bool layout_line(struct box *first, int *width, int *y, } } - first->inline_new_line = true; + first->flags |= NEW_LINE; assert(b != first || (move_y && 0 < used_height && (left || right))); |