mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Small change for r770.
This commit is contained in:
parent
606afe79e6
commit
35f54fcf46
@ -453,7 +453,7 @@ bool CMeasure::PostUpdate()
|
|||||||
{
|
{
|
||||||
m_AverageValues.resize(m_AverageSize, m_Value);
|
m_AverageValues.resize(m_AverageSize, m_Value);
|
||||||
averageValuesSize = m_AverageValues.size();
|
averageValuesSize = m_AverageValues.size();
|
||||||
m_AveragePos %= averageValuesSize;
|
if (m_AveragePos >= averageValuesSize) m_AveragePos = 0;
|
||||||
}
|
}
|
||||||
m_AverageValues[m_AveragePos] = m_Value;
|
m_AverageValues[m_AveragePos] = m_Value;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user