mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-05 03:50:07 +00:00
Minor string literal tidy-ups.
This commit is contained in:
parent
f316faaa04
commit
841a6665bd
148 changed files with 2219 additions and 2273 deletions
|
|
@ -60,7 +60,7 @@ static int findCloseQuote (const String& text, int startPos)
|
|||
{
|
||||
const tchar c = text [startPos];
|
||||
|
||||
if (c == 0 || (c == T('"') && lastChar != T('\\')))
|
||||
if (c == 0 || (c == '"' && lastChar != '\\'))
|
||||
break;
|
||||
|
||||
lastChar = c;
|
||||
|
|
@ -88,7 +88,7 @@ void LocalisedStrings::loadFromText (const String& fileContents)
|
|||
{
|
||||
String line (lines[i].trim());
|
||||
|
||||
if (line.startsWithChar (T('"')))
|
||||
if (line.startsWithChar ('"'))
|
||||
{
|
||||
int closeQuote = findCloseQuote (line, 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue