X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bf751e7e901fffb9ba9d850948915e33456524a..9967de02678d23a149183bc5908c7fadcd4f76eb:/src/common/uri.cpp diff --git a/src/common/uri.cpp b/src/common/uri.cpp index bcdd7eae66..7ddc18d1dd 100644 --- a/src/common/uri.cpp +++ b/src/common/uri.cpp @@ -648,10 +648,6 @@ const wxChar* wxURI::ParsePath(const wxChar* uri, bool bReference, bool bNormali if (bNormalize) { wxStringBufferLength theBuffer(m_path, m_path.length() + 1); -#if wxUSE_STL || wxUSE_UNICODE_UTF8 - // FIXME-UTF8: have some wxReadWriteStringBuffer instead? - wxTmemcpy(theBuffer, m_path.c_str(), m_path.length()+1); -#endif Normalize(theBuffer, true); theBuffer.SetLength(wxStrlen(theBuffer)); } @@ -701,10 +697,6 @@ const wxChar* wxURI::ParsePath(const wxChar* uri, bool bReference, bool bNormali if (bNormalize) { wxStringBufferLength theBuffer(m_path, m_path.length() + 1); -#if wxUSE_STL || wxUSE_UNICODE_UTF8 - // FIXME-UTF8: have some wxReadWriteStringBuffer instead? - wxTmemcpy(theBuffer, m_path.c_str(), m_path.length()+1); -#endif Normalize(theBuffer); theBuffer.SetLength(wxStrlen(theBuffer)); }