summaryrefslogtreecommitdiffstats
path: root/src/tk/radio.c
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2021-08-07 00:27:53 (EDT)
committer P. J. McDermott <pj@pehjota.net>2021-08-07 00:27:53 (EDT)
commita8ed4e3cea56bfed7464c243cf5f87b695c10eae (patch)
treece0b2ece4e7c2f72b524325308396290376ad94a /src/tk/radio.c
parentb085e7cee14f2b9c0a0c7c85c34b5d6ae6faf515 (diff)
downloadmazefight-a8ed4e3cea56bfed7464c243cf5f87b695c10eae.zip
mazefight-a8ed4e3cea56bfed7464c243cf5f87b695c10eae.tar.gz
mazefight-a8ed4e3cea56bfed7464c243cf5f87b695c10eae.tar.bz2
splash, tk: Clarify and standardize function ptrs
Diffstat (limited to 'src/tk/radio.c')
-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) {