summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2006-03-20 10:56:54 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2006-03-20 10:56:54 +0000
commitdd6bb6434755d34519dc4c8341a22fc45eb7aca5 (patch)
tree286b0bad2e5504cb6edc4d56a21fbbbc59fdeb8a /render/html_redraw.c
parentf51956947411288735f6c495d5e64610d3b75551 (diff)
downloadnetsurf-dd6bb6434755d34519dc4c8341a22fc45eb7aca5.tar.gz
netsurf-dd6bb6434755d34519dc4c8341a22fc45eb7aca5.tar.bz2
[project @ 2006-03-20 10:56:54 by rjek]
Source cleanup and true/false to TRUE/FALSE conversion for GTK plotters svn path=/import/netsurf/; revision=2142
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 4b5c57b52..19bec517b 100644
--- a/render/html_redraw.c
+++ b/render/html_redraw.c
@@ -927,15 +927,15 @@ bool html_redraw_checkbox(int x, int y, int width, int height,
bool html_redraw_radio(int x, int y, int width, int height,
bool selected)
{
- if (!plot.disc(x + width * 0.5, y + height * 0.5,
- width * 0.5 - 1, 0xffffff, TRUE))
- return false;
if (!plot.disc(x + width * 0.5, y + height * 0.5,
- width * 0.5 - 1, 0x000000, FALSE))
+ width * 0.5 - 1, 0xffffff, true))
+ return false;
+ if (!plot.disc(x + width * 0.5, y + height * 0.5,
+ width * 0.5 - 1, 0x000000, false))
return false;
if (selected)
if (!plot.disc(x + width * 0.5, y + height * 0.5,
- width * 0.3 - 1, 0x0000ff, TRUE))
+ width * 0.3 - 1, 0x0000ff, true))
return false;
return true;