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:
@@ -209,7 +209,7 @@ PageGrabber::NextFile(const char* aExtension)
|
||||
struct stat sb;
|
||||
int s = stat(cname, &sb);
|
||||
if (s < 0) {
|
||||
mFileNum++;
|
||||
++mFileNum;
|
||||
break;
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -388,7 +388,7 @@ void expandMacros(char* aBuffer,CMacros& aMacroSet){
|
||||
while(aBuffer[++rPos]){
|
||||
if('$'==aBuffer[rPos]){
|
||||
temp[wPos]=0;
|
||||
rPos++; //skip the $...
|
||||
++rPos; //skip the $...
|
||||
int theIndex=aBuffer[rPos]-'0';
|
||||
char* theMacro=aMacroSet.getMacro(theIndex);
|
||||
if(theMacro){
|
||||
|
||||
Reference in New Issue
Block a user