]> git.saurik.com Git - wxWidgets.git/commitdiff
NULL is not bool.
authorWłodzimierz Skiba <abx@abx.art.pl>
Fri, 5 Nov 2004 19:42:15 +0000 (19:42 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Fri, 5 Nov 2004 19:42:15 +0000 (19:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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);
   }