summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2008-07-29 23:11:32 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2008-07-29 23:11:32 +0000
commit9ede9ab3762cc6f5a09d8c8ef022922d9caec2ec (patch)
treea3c227bbe000e38e2bf517698fa51639d7c2ddea
parent43dd9fb097dc70d1caf2e97a9455baa6c3bdfd98 (diff)
downloadnetsurf-9ede9ab3762cc6f5a09d8c8ef022922d9caec2ec.tar.gz
netsurf-9ede9ab3762cc6f5a09d8c8ef022922d9caec2ec.tar.bz2
Don't call group_end before group_start has been called. Solves SF #1927130.
svn path=/trunk/netsurf/; revision=4811
-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 f53b425ee..6a6a0d170 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -222,7 +222,7 @@ bool html_redraw_box(struct box *box,
/* return if the rectangle is completely outside the clip rectangle */
if (clip_y1 < y0 || y1 < clip_y0 || clip_x1 < x0 || x1 < clip_x0)
- return ((!plot.group_end) || (plot.group_end()));
+ return true;
/* if visibility is hidden render children only */
if (box->style && box->style->visibility == CSS_VISIBILITY_HIDDEN) {