StringUtil::toCapitalized() will now capitalize characters following the ( and [ characters

This commit is contained in:
Leon Styhre 2024-07-16 21:19:49 +02:00
parent cac5ec0402
commit 7ea52c13a5

View file

@ -569,7 +569,8 @@ namespace Utils
stringCapitalized += chr;
}
if (chr == " " || chr == "-" || chr == "\n" || chr == "\r" || chr == "\t")
if (chr == " " || chr == "-" || chr == "\n" || chr == "\r" || chr == "\t" ||
chr == "(" || chr == "[")
capitalize = true;
}