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:
Václav Slavík 2000-08-20 21:52:12 +00:00
parent 15770d1a1c
commit 2148cce296

View File

@ -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;