1
0
Fork 0
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:
Julian Storer 2010-03-23 17:36:12 +00:00
parent f316faaa04
commit 841a6665bd
148 changed files with 2219 additions and 2273 deletions

View file

@ -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);