summaryrefslogtreecommitdiff
path: root/render/html_redraw.c
diff options
context:
space:
mode:
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 fe0c456a6..8468d645d 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))
- return false;
- if (!plot.disc(x + width * 0.5, y + height * 0.5,
- width * 0.4 - 1, 0xffffff))
+ 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))
+ width * 0.4 - 1, 0x0000ff, TRUE))
return false;
return true;