Small change for r770.

This commit is contained in:
spx 2011-02-19 21:38:29 +00:00
parent 606afe79e6
commit 35f54fcf46

View File

@ -453,7 +453,7 @@ bool CMeasure::PostUpdate()
{
m_AverageValues.resize(m_AverageSize, m_Value);
averageValuesSize = m_AverageValues.size();
m_AveragePos %= averageValuesSize;
if (m_AveragePos >= averageValuesSize) m_AveragePos = 0;
}
m_AverageValues[m_AveragePos] = m_Value;