From be366b0e6bb47fa8cc0bb8a6c310884f2cf4078f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 2 Mar 2011 19:16:03 +0000 Subject: Move strip_leading_newline to box flags. svn path=/trunk/netsurf/; revision=11889 --- render/box.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'render/box.c') diff --git a/render/box.c b/render/box.c index dc745f6be..ebe69c34f 100644 --- a/render/box.c +++ b/render/box.c @@ -132,7 +132,7 @@ struct box * box_create(css_select_results *styles, css_computed_style *style, box->type = BOX_INLINE; box->flags = 0; - box->flags = style_owned ? box->flags | STYLE_OWNED : box->flags; + box->flags = style_owned ? (box->flags | STYLE_OWNED) : box->flags; box->styles = styles; box->style = style; box->x = box->y = 0; @@ -150,7 +150,6 @@ struct box * box_create(css_select_results *styles, css_computed_style *style, box->length = 0; box->space = 0; box->clone = 0; - box->strip_leading_newline = 0; box->href = href; box->target = target; box->title = title; -- cgit v1.2.3