mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
StringUtil::toCapitalized() will now capitalize characters following the ( and [ characters
This commit is contained in:
parent
cac5ec0402
commit
7ea52c13a5
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue