HorizontalLineColor didn't work as documented. Fixed.

This commit is contained in:
Kimmo Pekkola 2009-07-29 10:38:09 +00:00
parent 2bd97bb5e1
commit df9817a83c
2 changed files with 3 additions and 2 deletions

View File

@ -125,7 +125,8 @@ void CMeterLine::ReadConfig(const WCHAR* section)
m_AntiAlias = 0!=parser.ReadInt(section, L"AntiAlias", 0);
m_LineWidth = parser.ReadFloat(section, L"LineWidth", 1.0);
m_HorizontalLines = 0!=parser.ReadInt(section, L"HorizontalLines", 0);
m_HorizontalColor = parser.ReadColor(section, L"HorizontalColor", Color::Black);
m_HorizontalColor = parser.ReadColor(section, L"HorizontalColor", Color::Black); // This is left here for backwards compatibility
m_HorizontalColor = parser.ReadColor(section, L"HorizontalLineColor", m_HorizontalColor); // This is what it should be
}
/*

View File

@ -1,2 +1,2 @@
#pragma once
const int revision_number = 103;
const int revision_number = 104;