Avoid doubling of path separator (needed to make it work on OS/2).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2003-11-23 22:19:00 +00:00
parent 764bb7f18e
commit 4785fdae07

View File

@@ -148,7 +148,8 @@ bool wxDirData::Read(wxString *filename)
// speed up string concatenation in the loop a bit
wxString path = m_dirname;
path += _T('/');
if (!wxIsPathSeparator(path.Last()))
path += _T('/');
path.reserve(path.length() + 255);
wxString de_d_name;