From 59739dd3ec587e44231cf9c1b309e6728578357c Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Fri, 14 Oct 2005 18:41:18 +0000 Subject: [PATCH] Fixed a bug in length calculation. --- src/utility/stringProxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utility/stringProxy.cpp b/src/utility/stringProxy.cpp index 10c2c3ce..e40ae1a4 100644 --- a/src/utility/stringProxy.cpp +++ b/src/utility/stringProxy.cpp @@ -93,7 +93,7 @@ void stringProxy::extract(outputStream& os, const size_type start, const size_ty if (end == std::numeric_limits ::max()) len = m_end - start - m_start; else if (end > start) - len = end - start - m_start; + len = end - start; if (progress) progress->start(len);