X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c08a36538a825d9afdf9151a57e69af542de8e82..6d5a34485ba36dac14bc4bf7ab788dcad2b22b9a:/src/common/url.cpp 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); }