diff --git a/src/common/filesys.cpp b/src/common/filesys.cpp index 2e2337a198..a81be7ba77 100644 --- a/src/common/filesys.cpp +++ b/src/common/filesys.cpp @@ -478,7 +478,7 @@ wxFSFile* wxFileSystem::OpenFile(const wxString& location, int flags) m_LastName.clear(); // try relative paths first : - if (meta != wxT(':')) + if (meta != wxT(':') && !m_Path.empty()) { node = m_Handlers.GetFirst(); while (node)