summaryrefslogtreecommitdiffstats
path: root/src/tk
diff options
context:
space:
mode:
Diffstat (limited to 'src/tk')
-rw-r--r--src/tk/radio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tk/radio.c b/src/tk/radio.c
index f6fe474..99e2b8b 100644
--- a/src/tk/radio.c
+++ b/src/tk/radio.c
@@ -201,7 +201,7 @@ mftk_radio_new(int butn_width, int butn_padding, SDL_Color *butn_color,
r->children[i] = mftk_check_new(butn_width, butn_padding,
butn_color, mark_color, (i == state),
label_padding, font, va_arg(ap, const char *),
- text_color, _mftk_radio_state_change,
+ text_color, &_mftk_radio_state_change,
&r->states[i], renderer);
if (r->children[i] == NULL) {
for (; i >= 0; --i) {