]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlpars.cpp
let wxFileName::GetModificationTime() work with files already opened [maybe in anothe...
[wxWidgets.git] / src / html / htmlpars.cpp
index 42101a4c0eb77c35db67b7fa87f71662b0f7b8ee..2bfef86812d478a58ffb525f48ef65ba547b80cf 100644 (file)
@@ -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;
+    
 }