Don't use a dereferencing operator when incrementing the pointer here.

Doesn't change the actual logic, but should avoid confusions ;-)

See issue #4557 for more details.

svn path=/trunk/; revision=41152
This commit is contained in:
Colin Finck 2009-05-27 20:13:36 +00:00
parent 5907aba3f0
commit d3f761e829

View file

@ -197,7 +197,7 @@ Directory::EscapeSpaces ( const string& path )
newpath = newpath + "\\ "; newpath = newpath + "\\ ";
else else
newpath = newpath + *p; newpath = newpath + *p;
*p++; p++;
} }
return newpath; return newpath;
} }