X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a5d46b7362198fd94a5fd3b751df86287f2187bc..f8d791e0a41f1021a69c3d6320ee6934c0dd7f36:/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);