From d948d2c0c35efd8a7c7b60c5f34ff3d0e345cb42 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Tue, 29 Aug 2023 21:46:38 -0700 Subject: til: s/til_module_setup_randomize/til_module_settings_randomize/ Mechanical rename for clarity reasons, primarily to better differentiate from the setup_func style til_module_setup()/til_module_setup_full() functions. --- src/modules/rtv/rtv.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/modules/rtv') diff --git a/src/modules/rtv/rtv.c b/src/modules/rtv/rtv.c index 14bc09b..36e21d4 100644 --- a/src/modules/rtv/rtv.c +++ b/src/modules/rtv/rtv.c @@ -201,7 +201,11 @@ static void setup_next_channel(rtv_context_t *ctxt, unsigned ticks) "channel", ctxt->channel->module->name /* XXX: this should come from the channel settings */); - (void) til_module_setup_randomize(ctxt->channel->module, settings, rand_r(&ctxt->til_module_context.seed), &ctxt->channel->module_setup, &settings_as_arg); + (void) til_module_settings_randomize(ctxt->channel->module, + settings, + rand_r(&ctxt->til_module_context.seed), + &ctxt->channel->module_setup, + &settings_as_arg); caption = txt_newf("Title: %s%s%s\nDescription: %s%s%s", ctxt->channel->module->name, ctxt->channel->module->author ? "\nAuthor: " : "", -- cgit v1.2.1