Line: Fixed scaling issue caused by 4bbc372

This commit is contained in:
Birunthan Mohanathas 2012-07-23 10:25:24 +03:00
parent c680250776
commit 52b6078303

View File

@ -281,7 +281,7 @@ bool CMeterLine::Draw(Graphics& graphics)
{ {
if (!m_Measures.empty()) if (!m_Measures.empty())
{ {
double maxValue = m_Measures[0]->GetMaxValue(); maxValue = m_Measures[0]->GetMaxValue();
std::vector<CMeasure*>::const_iterator i = m_Measures.begin(); std::vector<CMeasure*>::const_iterator i = m_Measures.begin();
for (; i != m_Measures.end(); ++i) for (; i != m_Measures.end(); ++i)