Don't use a dereferencing operator when incrementing the pointer here.
authorColin Finck <colin@reactos.org>
Wed, 27 May 2009 20:13:36 +0000 (20:13 +0000)
committerColin Finck <colin@reactos.org>
Wed, 27 May 2009 20:13:36 +0000 (20:13 +0000)
Doesn't change the actual logic, but should avoid confusions ;-)

See issue #4557 for more details.

svn path=/trunk/; revision=41152

reactos/tools/rbuild/directory.cpp

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