From 72edfd5d610569a764099c562a604518cd3aa1b3 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 19 Apr 2005 04:26:10 +0000 Subject: [PATCH] fix name entry wheel score rounded up instead of truncated --- stepmania/src/ScreenNameEntryTraditional.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ScreenNameEntryTraditional.cpp b/stepmania/src/ScreenNameEntryTraditional.cpp index b347476305..551e985a22 100644 --- a/stepmania/src/ScreenNameEntryTraditional.cpp +++ b/stepmania/src/ScreenNameEntryTraditional.cpp @@ -63,7 +63,7 @@ void HighScoreWheelItem::Load( int iRankIndex, const HighScore& hs ) m_textScore.SetName( "Score" ); m_textScore.LoadFromFont( THEME->GetPathF(m_sName,"score") ); if( PREFSMAN->m_bPercentageScoring ) - m_textScore.SetText( ssprintf("%.2f%%", hs.fPercentDP*100) ); + m_textScore.SetText( PercentageDisplay::FormatPercentScore(hs.fPercentDP) ); else m_textScore.SetText( ssprintf("%i", hs.iScore) ); m_textScore.SetShadowLength( 2 );