Utilize new functions for converting strings to upper/lower case (#2956)

* Utilize new functions for converting strings to upper/lower case

* Adapt to updated file name

* Use new function signature

* Update ghoul
This commit is contained in:
Emma Broman
2023-11-28 14:57:01 +01:00
committed by GitHub
parent 77084147dc
commit c525565e84
32 changed files with 54 additions and 127 deletions

View File

@@ -204,7 +204,7 @@ namespace {
// Collect name, image url and credits
std::string name = attribute(node, Name);
if (std::islower(name[0])) {
// convert string to upper case
// convert first character in string to upper case
name[0] = static_cast<char>(std::toupper(name[0]));
}