summaryrefslogtreecommitdiff
path: root/src/modules/compose
diff options
context:
space:
mode:
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 eb8cd48..dfe3794 100644
--- a/src/modules/compose/compose.c
+++ b/src/modules/compose/compose.c
@@ -302,14 +302,14 @@ static int compose_setup(const til_settings_t *settings, til_setting_t **res_set
* going to let the user potentially compose with montage
* or rtv as one of the layers.
*/
- if (!strcmp(layer, "compose")) { /* XXX: prevent infinite recursion */
+ if (!strcasecmp(layer, "compose")) { /* XXX: prevent infinite recursion */
til_setup_free(&setup->til_setup);
return -EINVAL;
}
for (i = 0; i < n_modules; i++) {
- if (!strcmp(layer, modules[i]->name))
+ if (!strcasecmp(layer, modules[i]->name))
break;
}
© All Rights Reserved