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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user