X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a5d46b7362198fd94a5fd3b751df86287f2187bc..a9cb577a6f19ea0d3bf0d59c988df9e002b29110:/src/common/url.cpp diff --git a/src/common/url.cpp b/src/common/url.cpp index f10cd6c903..8ae14ec4e9 100644 --- a/src/common/url.cpp +++ b/src/common/url.cpp @@ -387,7 +387,7 @@ void wxURL::SetProxy(const wxString& url_proxy) return; hostname = tmp_str(0, pos); - port = tmp_str(pos, tmp_str.Length()-pos); + port = tmp_str(pos+1, tmp_str.Length()-pos); addr.Hostname(hostname); addr.Service(port);