applied patch 430963 (fix for wxRegConfig::SetPath("//foo")

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-06-15 11:44:07 +00:00
parent 3892380ca1
commit eaac8805cd

View File

@@ -309,8 +309,12 @@ void wxRegConfig::SetPath(const wxString& strPath)
totalSlashes++; totalSlashes++;
} }
//else: nothing to do, we squeeze several subseuquent else // previous char was a slash too
// slashes into one {
// squeeze several subsequent slashes into one: i.e.
// just ignore this one
dst--;
}
} }
} }
else // normal character else // normal character