projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c5c5c9
)
Correct typo in wxArray::insert() fix of r68468.
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 31 Jul 2011 12:19:51 +0000
(12:19 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 31 Jul 2011 12:19:51 +0000
(12:19 +0000)
A wrong variable was mistakenly used.
Closes #13371.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68470
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/dynarray.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/dynarray.cpp
b/src/common/dynarray.cpp
index 175fa4a36e30522d6e5615a9b5839151009025ad..8d62ca6b06101e411e656886e72367ee9759fb16 100644
(file)
--- a/
src/common/dynarray.cpp
+++ b/
src/common/dynarray.cpp
@@
-359,7
+359,7
@@
void name::insert(iterator it, const_iterator first, const_iterator last) \
Grow(nInsert); \
\
/* old iterator could have been invalidated by Grow(). */ \
- it = begin() + nIn
sert;
\
+ it = begin() + nIn
dex;
\
\
memmove(&m_pItems[nIndex + nInsert], &m_pItems[nIndex], \
(m_nCount - nIndex)*sizeof(T)); \