fix for wxPathList::FindValidPath() for wxUSE_STL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
3c05fe1dbc
commit
e2fb71bc85
@ -251,7 +251,7 @@ wxString wxPathList::FindValidPath (const wxString& file)
|
||||
|
||||
for (wxStringList::compatibility_iterator node = GetFirst(); node; node = node->GetNext())
|
||||
{
|
||||
const wxChar *path = node->GetData();
|
||||
const wxString path(node->GetData());
|
||||
wxStrcpy (wxFileFunctionsBuffer, path);
|
||||
wxChar ch = wxFileFunctionsBuffer[wxStrlen(wxFileFunctionsBuffer)-1];
|
||||
if (ch != wxT('\\') && ch != wxT('/'))
|
||||
|
Loading…
Reference in New Issue
Block a user