]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/regconf.cpp
added new project file having the new files
[wxWidgets.git] / src / msw / regconf.cpp
index 5d8d70f97a357bad62dab6b2dc9641fcac10af7f..2fa8685006225b6723877d306ed7262b07f78751 100644 (file)
@@ -309,8 +309,12 @@ void wxRegConfig::SetPath(const wxString& strPath)
 
                         totalSlashes++;
                     }
-                    //else: nothing to do, we squeeze several subseuquent
-                    //      slashes into one
+                    else // previous char was a slash too
+                    {
+                        // squeeze several subsequent slashes into one: i.e.
+                        // just ignore this one
+                        dst--;
+                    }
                 }
             }
             else // normal character