From dd6bb6434755d34519dc4c8341a22fc45eb7aca5 Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Mon, 20 Mar 2006 10:56:54 +0000 Subject: [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 --- render/html_redraw.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'render') 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; -- cgit v1.2.3