use prefix ++, not postfix ++. Bug 82615, r=heikki, sr=jst

This commit is contained in:
bzbarsky@mit.edu
2002-09-03 22:23:22 +00:00
parent 4955eb073b
commit b4a66781e3
52 changed files with 228 additions and 228 deletions

View File

@@ -1013,7 +1013,7 @@ static PRBool IsCommentEnd(
return PR_TRUE;
}
if (*current == PRUnichar('-')) {
dashes++;
++dashes;
} else {
dashes = 0;
}
@@ -2028,9 +2028,9 @@ CEntityToken::ConsumeEntity(PRUnichar aChar,
aString.Append(aChar);
if(aChar==kRightBrace)
rightBraceCount++;
++rightBraceCount;
else if(aChar==kLeftBrace)
leftBraceCount++;
++leftBraceCount;
} while(leftBraceCount!=rightBraceCount);
} //if
else {