Fix for wxChm

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@65784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2010-10-08 11:16:54 +00:00
parent 8add3170fd
commit 0600361f98

View File

@@ -825,6 +825,8 @@ wxFSFile* wxChmFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs),
}
wxFileName leftFilename = wxFileSystem::URLToFileName(left);
if (!leftFilename.FileExists())
return NULL;
// Open a stream to read the content of the chm-file
s = new wxChmInputStream(leftFilename.GetFullPath(), right, true);