From 1165edf662baa3286ff76df54f2db6819340d0a3 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 1 Jul 2009 13:53:06 +0000 Subject: remove redundant clg call svn path=/trunk/netsurf/; revision=8240 --- render/html_redraw.c | 2 +- render/textplain.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'render') 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) -- cgit v1.2.3