From ca6d18745f3c16c23e0c1e0ceadba72f3ed374e7 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 15 Jul 2005 21:48:06 +0000 Subject: [PATCH] cleanup InitText in OptionRow::Reload instead of UpdateText --- stepmania/src/OptionRow.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stepmania/src/OptionRow.cpp b/stepmania/src/OptionRow.cpp index 737cf1abe9..fa32b637f0 100644 --- a/stepmania/src/OptionRow.cpp +++ b/stepmania/src/OptionRow.cpp @@ -5,8 +5,6 @@ #include "Font.h" #include "Foreach.h" #include "OptionRowHandler.h" -#include "FontManager.h" -#include "Font.h" #include "CommonMetrics.h" #include "GameState.h" #include "song.h" @@ -829,7 +827,10 @@ void OptionRow::Reload( const OptionRowDefinition &def ) //} UpdateEnabledDisabled(); - UpdateText(); + + /* Update the text to show the options we just updated. */ + InitText(); + FOREACH_HumanPlayer( p ) PositionUnderlines( p ); }