From b75679f3c1562de7f6e411807473c55eede95101 Mon Sep 17 00:00:00 2001 From: Kyzentun Date: Thu, 4 Sep 2014 18:21:39 -0600 Subject: [PATCH] Actually use the argument in SetMaxDimUseZoom. --- src/BitmapText.cpp | 2 +- src/BitmapText.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BitmapText.cpp b/src/BitmapText.cpp index 537393b440..30945c0587 100644 --- a/src/BitmapText.cpp +++ b/src/BitmapText.cpp @@ -495,7 +495,7 @@ void BitmapText::SetMaxHeight( float fMaxHeight ) void BitmapText::SetMaxDimUseZoom(bool use) { - m_MaxDimensionUsesZoom= true; + m_MaxDimensionUsesZoom= use; } void BitmapText::SetUppercase( bool b ) diff --git a/src/BitmapText.h b/src/BitmapText.h index 046f1385ff..329c5540f1 100644 --- a/src/BitmapText.h +++ b/src/BitmapText.h @@ -78,7 +78,7 @@ protected: int m_iWrapWidthPixels; // -1 = no wrap float m_fMaxWidth; // 0 = no max float m_fMaxHeight; // 0 = no max - bool m_MaxDimensionUsesZoom; + bool m_MaxDimensionUsesZoom; bool m_bRainbowScroll; bool m_bJitter; bool m_bUsingDistortion;