Fixed error with MeasureName and ImageName in Image meter

This commit is contained in:
spx 2012-07-22 14:59:32 -07:00
parent 7e2ff04bab
commit c680250776

View File

@ -159,7 +159,7 @@ bool CMeterImage::Update()
else else
{ {
m_ImageNameResult = m_ImageName; m_ImageNameResult = m_ImageName;
if (!ReplaceMeasures(m_ImageNameResult)) if (!ReplaceMeasures(m_ImageNameResult, AUTOSCALE_OFF))
{ {
// ImageName doesn't contain any measures, so use the result of MeasureName. // ImageName doesn't contain any measures, so use the result of MeasureName.
m_ImageNameResult = m_Measures[0]->GetStringValue(AUTOSCALE_OFF, 1, 0, false); m_ImageNameResult = m_Measures[0]->GetStringValue(AUTOSCALE_OFF, 1, 0, false);