Don't use a dereferencing operator when incrementing the pointer here.
[reactos.git] / 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;
 }