From: Włodzimierz Skiba Date: Thu, 28 Oct 2004 11:48:32 +0000 (+0000) Subject: Borland warning fix. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1ccc19ce9d4adf55bbe64f4d8bbcaf276328c7e8 Borland warning fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/uri.cpp b/src/common/uri.cpp index 23c5317d45..3bbdccb3a7 100644 --- a/src/common/uri.cpp +++ b/src/common/uri.cpp @@ -781,7 +781,7 @@ void wxURI::Resolve(const wxURI& base, int flags) // T.path = remove_dot_segments(T.path); // endif; // T.query = R.query; - if (m_path[(const size_t&)0] != '/') + if (!m_path.StartsWith(wxT("/"))) { //Marge paths const wxChar* op = m_path.c_str();