aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-08-05 12:02:14 +0100
committerGravatar Sadie Powell2023-08-11 12:03:09 +0100
commit681b488fc0ebca964eddf2a54575dc41901bc520 (patch)
tree8d5953e1ecc38e7abc8e4369e71a2f3db2a1744a /include
parentMove stdalgo::string::{equalsci,tocstr} to utility/string. (diff)
Update usages of stdalgo::string::equalsci to use insp::equalsci.
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 667ef84d0..da712713b 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -152,7 +152,7 @@ public:
return def;
for (const auto& [enumkey, enumval] : enumvals)
- if (stdalgo::string::equalsci(val, enumkey))
+ if (strcasecmp(val.c_str(), enumkey) == 0)
return enumval;
// Unfortunately we have to iterate this twice.