X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5276b0a53cef4815230e39b54d2ecda14f72cbd1..b132a83bffa4f9855fb02c7c82d48cee33a69b1a:/src/common/url.cpp?ds=inline 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();