merged 2.2 branch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bryan Petty
2000-07-15 19:51:35 +00:00
parent 8a693e6e04
commit f6bcfd974e
1835 changed files with 237729 additions and 67990 deletions

View File

@@ -94,8 +94,8 @@ bool wxInternetFSHandler::CanOpen(const wxString& location)
wxURL url(p + wxT(":") + StripProtocolAnchor(location));
return (url.GetError() == wxURL_NOERR);
}
else
return FALSE;
return FALSE;
}
@@ -140,15 +140,14 @@ wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxStri
// Load item from cache:
s = new wxFileInputStream(info->GetTemp());
if (s)
{
return new wxFSFile(s,
right,
info->GetMime(),
GetAnchor(location),
wxDateTime::Now());
}
else return (wxFSFile*) NULL;
if (!s)
return (wxFSFile*) NULL;
return new wxFSFile(s,
right,
info->GetMime(),
GetAnchor(location),
wxDateTime::Now());
}