summaryrefslogtreecommitdiff
path: root/src/modules/rtv
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-08-29 21:46:38 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-08-29 21:46:38 -0700
commitd948d2c0c35efd8a7c7b60c5f34ff3d0e345cb42 (patch)
tree63e75092a193f11efe2c2071e33582ea7d2c02d2 /src/modules/rtv
parent5850b250c97943a8ff3af0327bfbed80aaaaf4c5 (diff)
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.
Diffstat (limited to 'src/modules/rtv')
-rw-r--r--src/modules/rtv/rtv.c6
1 files changed, 5 insertions, 1 deletions
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: " : "",
© All Rights Reserved