fixed stupid loop in wxFileSystem::OpenFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
15770d1a1c
commit
2148cce296
@ -327,11 +327,13 @@ wxFSFile* wxFileSystem::OpenFile(const wxString& location)
|
||||
meta = 0;
|
||||
for (i = 0; i < ln; i++)
|
||||
{
|
||||
if (!meta)
|
||||
switch (loc[i])
|
||||
{
|
||||
case wxT('/') : case wxT(':') : case wxT('#') : meta = loc[i];
|
||||
case wxT('/') : case wxT(':') : case wxT('#') :
|
||||
meta = loc[i];
|
||||
break;
|
||||
}
|
||||
if (meta != 0) break;
|
||||
}
|
||||
m_LastName = wxEmptyString;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user