From 74fd39f912e036d463bccdcdceb079abef6f2b64 Mon Sep 17 00:00:00 2001 From: mapeki Date: Sun, 17 Oct 2010 18:21:44 +0000 Subject: [PATCH] Fixed copy paste typo - m_ImageWidthString was there twice instead of m_ImageHeightString --- Library/MeterBar.cpp | 2 +- Library/MeterImage.cpp | 2 +- Library/MeterRotator.cpp | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Library/MeterBar.cpp b/Library/MeterBar.cpp index a8fd7705..87206b7e 100644 --- a/Library/MeterBar.cpp +++ b/Library/MeterBar.cpp @@ -43,7 +43,7 @@ CMeterBar::CMeterBar(CMeterWindow* meterWindow) : CMeterImage(meterWindow) m_Flip = false; m_ImageWidthString = L"ImageW"; - m_ImageWidthString = L"ImageH"; + m_ImageHeightString = L"ImageH"; } /* diff --git a/Library/MeterImage.cpp b/Library/MeterImage.cpp index 36f159e9..d398db8b 100644 --- a/Library/MeterImage.cpp +++ b/Library/MeterImage.cpp @@ -71,7 +71,7 @@ CMeterImage::CMeterImage(CMeterWindow* meterWindow) : CMeter(meterWindow) m_Rotate = 0.0f; m_ImageWidthString = L"W"; - m_ImageWidthString = L"H"; + m_ImageHeightString = L"H"; } /* diff --git a/Library/MeterRotator.cpp b/Library/MeterRotator.cpp index 3e5c6d9c..70902533 100644 --- a/Library/MeterRotator.cpp +++ b/Library/MeterRotator.cpp @@ -37,6 +37,9 @@ CMeterRotator::CMeterRotator(CMeterWindow* meterWindow) : CMeterImage(meterWindo { m_Bitmap = NULL; m_Value = 0.0; + + m_ImageWidthString = L"ImageW"; + m_ImageHeightString = L"ImageH"; } /*