summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-04-23 18:34:46 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-04-23 18:34:46 +0100
commitd399f565ed7789464e0d2627fa3c391dec872905 (patch)
tree8980121204a8a808582cae613324f4dc355ff794 /render/html_redraw.c
parent5e774272cdd095239737c37bd8e0091624d8efca (diff)
downloadnetsurf-d399f565ed7789464e0d2627fa3c391dec872905.tar.gz
netsurf-d399f565ed7789464e0d2627fa3c391dec872905.tar.bz2
Fix abort of page render on failed content_redraw of background image.
Diffstat (limited to 'render/html_redraw.c')
-rw-r--r--render/html_redraw.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c
index 1abe14375..91df89740 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -1482,9 +1482,9 @@ static bool html_redraw_background(int x, int y, struct box *box, float scale,
bg_data.repeat_x = repeat_x;
bg_data.repeat_y = repeat_y;
- if (!content_redraw(background->background,
- &bg_data, &r, ctx))
- return false;
+ /* We just continue if redraw fails */
+ content_redraw(background->background,
+ &bg_data, &r, ctx);
}
}
@@ -1634,8 +1634,8 @@ static bool html_redraw_inline_background(int x, int y, struct box *box,
bg_data.repeat_x = repeat_x;
bg_data.repeat_y = repeat_y;
- if (!content_redraw(box->background, &bg_data, &r, ctx))
- return false;
+ /* We just continue if redraw fails */
+ content_redraw(box->background, &bg_data, &r, ctx);
}
}