summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-03-02 17:50:51 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-03-02 17:50:51 +0000
commitf744c9dfa0b283af31eb9bada8ffb63809acb0db (patch)
tree6fe18e88c7bb40ec106655012912146f8a28fedc /render/html_redraw.c
parent4aef849eba41b28eb5ec8499627e1b98ae2a6b72 (diff)
downloadnetsurf-f744c9dfa0b283af31eb9bada8ffb63809acb0db.tar.gz
netsurf-f744c9dfa0b283af31eb9bada8ffb63809acb0db.tar.bz2
Make box flags and move new line indicator to it.
svn path=/trunk/netsurf/; revision=11886
Diffstat (limited to 'render/html_redraw.c')
-rw-r--r--render/html_redraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c
index 75dcf18aa..c69b24610 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -528,7 +528,7 @@ bool html_redraw_box(struct box *box, int x_parent, int y_parent,
ib_b_right = ib->border[RIGHT].width * scale;
}
- if (ib->inline_new_line && ib != box) {
+ if ((ib->flags & NEW_LINE) && ib != box) {
/* inline element has wrapped, plot background
* and borders */
if (!html_redraw_inline_background(