mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Fixed error with MeasureName and ImageName in Image meter
This commit is contained in:
parent
7e2ff04bab
commit
c680250776
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user