mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-01 03:10:06 +00:00
Minor clean-ups.
This commit is contained in:
parent
d9f0ac29b6
commit
9a24aa8a20
33 changed files with 127 additions and 222 deletions
|
|
@ -62,8 +62,7 @@ namespace CodeHelpers
|
|||
else
|
||||
s = s.replaceCharacters (".,;/@", "_____");
|
||||
|
||||
int i;
|
||||
for (i = s.length(); --i > 0;)
|
||||
for (int i = s.length(); --i > 0;)
|
||||
if (CharacterFunctions::isLetter (s[i])
|
||||
&& CharacterFunctions::isLetter (s[i - 1])
|
||||
&& CharacterFunctions::isUpperCase (s[i])
|
||||
|
|
@ -86,7 +85,7 @@ namespace CodeHelpers
|
|||
if (capitalise)
|
||||
n = n.toLowerCase();
|
||||
|
||||
for (i = 1; i < words.size(); ++i)
|
||||
for (int i = 1; i < words.size(); ++i)
|
||||
{
|
||||
if (capitalise && words[i].length() > 1)
|
||||
n << words[i].substring (0, 1).toUpperCase()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue