X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5276b0a53cef4815230e39b54d2ecda14f72cbd1..63a65070911908802c27b52173c3306e93dd63bf:/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();