X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7127d12912341510250bfcf4921ab744faf775e0..095b80e2b5120d4c476a834b2017c355fa9afef0:/src/html/htmlpars.cpp diff --git a/src/html/htmlpars.cpp b/src/html/htmlpars.cpp index 42101a4c0e..2d8a85df24 100644 --- a/src/html/htmlpars.cpp +++ b/src/html/htmlpars.cpp @@ -4,7 +4,7 @@ // Author: Vaclav Slavik // RCS-ID: $Id$ // Copyright: (c) 1999 Vaclav Slavik -// Licence: wxWindows Licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -856,7 +856,8 @@ wxChar wxHtmlEntitiesParser::GetEntityChar(const wxString& entity) wxFSFile *wxHtmlParser::OpenURL(wxHtmlURLType WXUNUSED(type), const wxString& url) const { - return GetFS()->OpenFile(url); + return m_FS ? m_FS->OpenFile(url) : NULL; + }