]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/url.cpp
delete-->delete[]
[wxWidgets.git] / src / common / url.cpp
index 653d15d1876ccdeec8f24171440f9de331547623..2c30bffffcc3964e23b67718fa1ae3b2802bdc86 100644 (file)
@@ -287,7 +287,7 @@ wxInputStream *wxURL::GetInputStream()
   // When we use a proxy, we have to pass the whole URL to it.
   wxInputStream *the_i_stream;
   
-  if (m_useProxy != NULL)
+  if (!m_useProxy)
   {
       the_i_stream = m_protocol->GetInputStream(m_url);
   }