From df9817a83c1f48995fb9daffb146a0ae44042220 Mon Sep 17 00:00:00 2001 From: Kimmo Pekkola Date: Wed, 29 Jul 2009 10:38:09 +0000 Subject: [PATCH] HorizontalLineColor didn't work as documented. Fixed. --- Library/MeterLine.cpp | 3 ++- revision-number.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Library/MeterLine.cpp b/Library/MeterLine.cpp index 5dfd2ddb..e2f98ebf 100644 --- a/Library/MeterLine.cpp +++ b/Library/MeterLine.cpp @@ -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 } /* diff --git a/revision-number.h b/revision-number.h index 5aa77dd6..622837c2 100644 --- a/revision-number.h +++ b/revision-number.h @@ -1,2 +1,2 @@ #pragma once -const int revision_number = 103; \ No newline at end of file +const int revision_number = 104; \ No newline at end of file