diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-02 19:16:03 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2011-03-02 19:16:03 +0000 |
commit | be366b0e6bb47fa8cc0bb8a6c310884f2cf4078f (patch) | |
tree | 11825f7b900b04a5bd7d1581682f713eaa241be6 /render/box.c | |
parent | 3707be6292e5d8c93b121a698f67bb679ff8fba4 (diff) | |
download | netsurf-be366b0e6bb47fa8cc0bb8a6c310884f2cf4078f.tar.gz netsurf-be366b0e6bb47fa8cc0bb8a6c310884f2cf4078f.tar.bz2 |
Move strip_leading_newline to box flags.
svn path=/trunk/netsurf/; revision=11889
Diffstat (limited to 'render/box.c')
-rw-r--r-- | render/box.c | 3 |
1 files changed, 1 insertions, 2 deletions
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; |