diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-06-03 14:08:19 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-06-03 14:08:19 -0700 |
commit | b5a37e4b9b7343e96cae75f20056f5ab1c0a2c5a (patch) | |
tree | 584a67c2386b32889cd78083916ebe43643351eb /src | |
parent | 126f38df518b4a26886b69a418d748af4f759dcd (diff) |
til: skip described settings in til_module_setup_randomize()
Preparatory commit for when settings are supplied by caller,
potentially populated and described.
Diffstat (limited to 'src')
-rw-r--r-- | src/til.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -412,6 +412,9 @@ int til_module_setup_randomize(const til_module_t *module, unsigned seed, til_se assert(setting); + if (setting->desc) + continue; + /* * TODO This probably also needs to move into a til_settings helper, * copy-n-pasta alert, taken from setup.c |