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

git-svn-id: svn://10.0.0.236/trunk@128743 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2002-09-03 22:23:22 +00:00
parent 6242aacba5
commit 4f51e5b41e
52 changed files with 228 additions and 228 deletions

View File

@@ -86,7 +86,7 @@ nsCParserNode::nsCParserNode(CToken* aToken,
MOZ_COUNT_CTOR(nsCParserNode);
static int theNodeCount=0;
theNodeCount++;
++theNodeCount;
mAttributes=0;
mToken=aToken;
IF_HOLD(mToken);
@@ -327,7 +327,7 @@ void nsCParserNode::GetSource(nsString& aString) {
}
if(mAttributes) {
int index=0;
for(index=0;index<mAttributes->GetSize();index++) {
for(index=0;index<mAttributes->GetSize();++index) {
CAttributeToken *theToken=(CAttributeToken*)mAttributes->ObjectAt(index);
if(theToken) {
theToken->AppendSourceTo(aString);