summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/html_redraw.c')
-rw-r--r--render/html_redraw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c
index 10b2679aa..428289efc 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -410,8 +410,9 @@ bool html_redraw_box(struct box *box, int x_parent, int y_parent,
return false;
} else {
/* clip box is fine, clip to it */
- if (!plot.clip(&r))
r = *clip;
+ if (!plot.clip(&r))
+ return false;
}
/* background colour and image for block level content and replaced