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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user