From: Włodzimierz Skiba Date: Fri, 5 Nov 2004 19:42:15 +0000 (+0000) Subject: NULL is not bool. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/142b15c5a1c54540de52a72f3059fdffaa1c8afe NULL is not bool. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/url.cpp b/src/common/url.cpp index 653d15d187..2c30bffffc 100644 --- a/src/common/url.cpp +++ b/src/common/url.cpp @@ -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); }