summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2009-07-01 13:53:06 +0000
committerVincent Sanders <vince@netsurf-browser.org>2009-07-01 13:53:06 +0000
commit1165edf662baa3286ff76df54f2db6819340d0a3 (patch)
treeef3c9d96bfe66869e7c06fa06e1388fd7c3dd8ee /render
parenta3e205bbd9cff0a189b3a5a03c676ace9c5ee8dd (diff)
downloadnetsurf-1165edf662baa3286ff76df54f2db6819340d0a3.tar.gz
netsurf-1165edf662baa3286ff76df54f2db6819340d0a3.tar.bz2
remove redundant clg call
svn path=/trunk/netsurf/; revision=8240
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)