From 9ede9ab3762cc6f5a09d8c8ef022922d9caec2ec Mon Sep 17 00:00:00 2001 From: John Tytgat Date: Tue, 29 Jul 2008 23:11:32 +0000 Subject: Don't call group_end before group_start has been called. Solves SF #1927130. svn path=/trunk/netsurf/; revision=4811 --- render/html_redraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3