projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
062dc5f
)
remove unnecessary memcpy() of string contents to wxStringBufferLength
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Fri, 6 Jun 2008 21:20:22 +0000
(21:20 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Fri, 6 Jun 2008 21:20:22 +0000
(21:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53996
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/uri.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/uri.cpp
b/src/common/uri.cpp
index bcdd7eae660447ad11e6267d0c6408c4b24abc28..9b2f5503d33fcc3e242844611d611d2e5ae03162 100644
(file)
--- 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));
}