diff --git a/src/common/fs_zip.cpp b/src/common/fs_zip.cpp index 3a4f8deab6..036c001abd 100644 --- a/src/common/fs_zip.cpp +++ b/src/common/fs_zip.cpp @@ -67,7 +67,8 @@ wxZipFSHandler::~wxZipFSHandler() bool wxZipFSHandler::CanOpen(const wxString& location) { wxString p = GetProtocol(location); - return (p == wxT("zip")); + return (p == wxT("zip")) && + (GetProtocol(GetLeftLocation(location)) == wxT("file")); }