diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2008-09-15 22:14:17 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2008-09-15 22:14:17 +0000 |
commit | 2c3a663ccce49f520db3578d7be623cac1a1e9bf (patch) | |
tree | 580626eaaf2df6c2cae28d3cadb319341f0b07f7 /render/html_redraw.c | |
parent | 8247c76404076c4808be0c7a47d4e9c361dc5883 (diff) | |
download | netsurf-2c3a663ccce49f520db3578d7be623cac1a1e9bf.tar.gz netsurf-2c3a663ccce49f520db3578d7be623cac1a1e9bf.tar.bz2 |
Fix some warnings.
svn path=/trunk/netsurf/; revision=5336
Diffstat (limited to 'render/html_redraw.c')
-rw-r--r-- | render/html_redraw.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c index 7a398ec42..5d9263983 100644 --- a/render/html_redraw.c +++ b/render/html_redraw.c @@ -236,7 +236,7 @@ bool html_redraw_box(struct box *box, #ifdef WITH_PDF_EXPORT /*if the rectangle is under the page bottom but it can fit in a page, don't print it now*/ - if (html_redraw_printing) + if (html_redraw_printing) { if (y1 > html_redraw_printing_border) { if (y1 - y0 <= html_redraw_printing_border && (box->type == BOX_TEXT || @@ -250,6 +250,7 @@ bool html_redraw_box(struct box *box, } } else box->printed = true;/*it won't be printed anymore*/ + } #endif /* if visibility is hidden render children only */ |