summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
Diffstat (limited to 'render')
-rw-r--r--render/html_redraw.c2
-rw-r--r--render/textplain.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/render/html_redraw.c b/render/html_redraw.c
index b9d6e84f1..b31c98e64 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -147,7 +147,7 @@ bool html_redraw(struct content *c, int x, int y,
result = plot.clip(clip_x0, clip_y0, clip_x1, clip_y1);
if (c->data.html.background_colour != TRANSPARENT)
background_colour = c->data.html.background_colour;
- result &= plot.clg(background_colour);
+ result &= plot.fill(clip_x0, clip_y0, clip_x1, clip_y1, background_colour);
result &= html_redraw_box(box, x, y,
clip_x0, clip_y0, clip_x1, clip_y1,
diff --git a/render/textplain.c b/render/textplain.c
index a5a148617..48e1626cf 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -358,7 +358,7 @@ bool textplain_redraw(struct content *c, int x, int y,
if (line1 < line0)
line1 = line0;
- if (!plot.clg(0xffffff))
+ if (!plot.fill(clip_x0, clip_y0, clip_x1, clip_y1, 0xffffff))
return false;
if (!line)