]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_inet.cpp
Don't use size_t for plural forms parameter.
[wxWidgets.git] / src / common / fs_inet.cpp
index ce26c59f8ca7dc5bcfcfa5b0f64bc453d93ca903..9339de6720dd1b00820f42313474a428658c7805 100644 (file)
@@ -107,7 +107,6 @@ wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs),
     {
         wxInputStream *s = url.GetInputStream();
         wxString content = url.GetProtocol().GetContentType();
-        if (content == wxEmptyString) content = GetMimeTypeFromExt(location);
         if (s)
         {
             wxString tmpfile =
@@ -130,7 +129,7 @@ wxFSFile* wxInternetFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs),
         }
     }
 
-    return (wxFSFile*) NULL; // incorrect URL
+    return NULL; // incorrect URL
 #endif
 }
 
@@ -153,7 +152,7 @@ class wxFileSystemInternetModule : public wxModule
             return true;
         }
 
-        virtual void OnExit() 
+        virtual void OnExit()
         {
             delete wxFileSystem::RemoveHandler(m_handler);
         }