summaryrefslogtreecommitdiff
path: root/src/modules/compose
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-10-11 01:18:56 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-10-11 01:18:56 -0700
commitad85aa4500e83ba38b0c506da7d14aff3d9380be (patch)
tree510cc281ad10fe6447f02f6077e47523fcce8a82 /src/modules/compose
parentb855e5ed0708f2d832b35b20126af941f26dc8fb (diff)
modules/compose: don't use *res_setting for texture
This is vestigial from pre-everything's-til_setting_t days, where the local setting values were just the bare char* value, requiring getting at the related til_setting_t via *res_setting. Now that's unnecessary since the local texture variable is now a til_setting_t*, so clean this bit up.
Diffstat (limited to 'src/modules/compose')
-rw-r--r--src/modules/compose/compose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/compose/compose.c b/src/modules/compose/compose.c
index 2740939..e45538c 100644
--- a/src/modules/compose/compose.c
+++ b/src/modules/compose/compose.c
@@ -355,8 +355,8 @@ static int compose_setup(const til_settings_t *settings, til_setting_t **res_set
if (r)
return r;
- assert(res_setting && *res_setting && (*res_setting)->value_as_nested_settings);
- texture_settings = (*res_setting)->value_as_nested_settings;
+ texture_settings = texture->value_as_nested_settings;
+ assert(texture_settings);
r = compose_texture_module_setup(texture_settings,
res_setting,
© All Rights Reserved