summaryrefslogtreecommitdiff
path: root/src/modules/swarm/swarm.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-05-25 13:15:00 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-05-25 13:15:00 -0700
commit9b6136a732114949be57d42ce358f7b3cc2f5bbf (patch)
tree151634aa9577dc9838ac7516dfa8e54b91c2be68 /src/modules/swarm/swarm.c
parent3e3faa57e22610fa03050089b0e15c9df7fe832e (diff)
*: normalize on all case-insensitive comparisons
I don't think rototiller is an appropriate place for being so uncooperative, if someone gets the case wrong anywhere just make it work. We should avoid making different things so subtly different that case alone is the distinction anyways, so I don't see this creating any future namespace collision problems.
Diffstat (limited to 'src/modules/swarm/swarm.c')
-rw-r--r--src/modules/swarm/swarm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/swarm/swarm.c b/src/modules/swarm/swarm.c
index a57c9fe..d45c926 100644
--- a/src/modules/swarm/swarm.c
+++ b/src/modules/swarm/swarm.c
@@ -456,7 +456,7 @@ static int swarm_setup(const til_settings_t *settings, til_setting_t **res_setti
return -ENOMEM;
for (int i = 0; styles[i]; i++) {
- if (!strcmp(styles[i], style))
+ if (!strcasecmp(styles[i], style))
setup->draw_style = i;
}
© All Rights Reserved