[DEBUG] correction of the vector displying error

This commit is contained in:
Edouard DUPIN 2012-10-24 14:22:19 +02:00
parent e795911933
commit d71bbfea08

View File

@ -410,7 +410,7 @@ namespace etk
}
int32_t idx = m_size;
Resize(m_size+nbElement);
if (idx >= m_size) {
if (idx > m_size) {
TK_ERROR("Resize does not work corectly ... not added item");
return;
}