X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5276b0a53cef4815230e39b54d2ecda14f72cbd1..7198c3368055d88249a338eb33b21f051f674806:/src/common/url.cpp diff --git a/src/common/url.cpp b/src/common/url.cpp index c0fb31cac2..15b9311839 100644 --- a/src/common/url.cpp +++ b/src/common/url.cpp @@ -251,7 +251,7 @@ bool wxURL::FetchProtocol() { if (m_scheme == info->m_protoname) { - if (m_port.IsNull()) + if ( m_port.empty() ) m_port = info->m_servname; m_protoinfo = info; m_protocol = (wxProtocol *)m_protoinfo->m_cinfo->CreateObject();