From f903ac8f304874d57f564c97e521e43e85d5fc33 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 18 Jan 2003 09:35:08 +0000 Subject: [PATCH] remove unused parameter --- stepmania/src/BitmapText.cpp | 3 +-- stepmania/src/BitmapText.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/stepmania/src/BitmapText.cpp b/stepmania/src/BitmapText.cpp index 65435f75ab..3d6d6d3d69 100644 --- a/stepmania/src/BitmapText.cpp +++ b/stepmania/src/BitmapText.cpp @@ -21,7 +21,6 @@ #include "ThemeManager.h" #include "GameConstantsAndTypes.h" #include "Font.h" -#include "FontCharAliases.h" /* XXX: * We need some kind of font modifier string for metrics. For example, @@ -210,7 +209,7 @@ void BitmapText::DrawChars() } /* sText is UTF-8. */ -void BitmapText::SetText( CString sText, bool DoSubst ) +void BitmapText::SetText( CString sText ) { ASSERT( m_pFont ); diff --git a/stepmania/src/BitmapText.h b/stepmania/src/BitmapText.h index 9fdaa64f8f..e0e9681987 100644 --- a/stepmania/src/BitmapText.h +++ b/stepmania/src/BitmapText.h @@ -26,7 +26,7 @@ public: bool LoadFromFont( CString sFontName ); bool LoadFromNumbers( CString sTexturePath ) { return LoadFromTextureAndChars(sTexturePath,"0123456789%. :x"); }; bool LoadFromTextureAndChars( CString sTexturePath, CString sChars ); - void SetText( CString sText, bool DoSubst = true ); + void SetText( CString sText ); int GetWidestLineWidthInSourcePixels() { return m_iWidestLineWidth; }; void CropToWidth( int iWidthInSourcePixels );