diff --git a/src/common/uri.cpp b/src/common/uri.cpp index b2e619adf9..0608b4c82f 100644 --- a/src/common/uri.cpp +++ b/src/common/uri.cpp @@ -812,7 +812,7 @@ void wxURI::Resolve(const wxURI& base, int flags) } m_path = base.m_path.substr(0, bp - base.m_path.c_str()) + - m_path.Mid((op - m_path.c_str()), m_path.Length()); + m_path.substr((op - m_path.c_str()), m_path.Length()); } }