Fixed a bug in length calculation.

This commit is contained in:
Vincent Richard 2005-10-14 18:41:18 +00:00
parent 623857cb80
commit 59739dd3ec

View File

@ -93,7 +93,7 @@ void stringProxy::extract(outputStream& os, const size_type start, const size_ty
if (end == std::numeric_limits <size_type>::max())
len = m_end - start - m_start;
else if (end > start)
len = end - start - m_start;
len = end - start;
if (progress)
progress->start(len);