X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bafd830636e54f3bf33910993a61e2972e99e2ca..6f73419b905539356852f5314ee1f80e365a68b3:/src/common/uri.cpp diff --git a/src/common/uri.cpp b/src/common/uri.cpp index 52b11eb5af..c195d13729 100644 --- a/src/common/uri.cpp +++ b/src/common/uri.cpp @@ -882,8 +882,8 @@ void wxURI::Resolve(const wxURI& base, int flags) op += 3; } - m_path = (wxString)base.m_path.substr(0, bp - base.m_path.c_str()) + - (wxString)m_path.substr((op - m_path.c_str()), m_path.Length()); + m_path = base.m_path.substr(0, bp - base.m_path.c_str()) + + m_path.substr((op - m_path.c_str()), m_path.Length()); } }