]> git.saurik.com Git - wxWidgets.git/commitdiff
Borland warning fix.
authorWłodzimierz Skiba <abx@abx.art.pl>
Thu, 28 Oct 2004 11:48:32 +0000 (11:48 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Thu, 28 Oct 2004 11:48:32 +0000 (11:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/uri.cpp

index 23c5317d458c82013d2fcbb02d1fa9747c6cca10..3bbdccb3a713a1d50212a6070823ba5147c88f03 100644 (file)
@@ -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();