From 5e2806c5f7dd88ced1aa136266dcdbe84fa87e08 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 21 Dec 2005 07:42:52 +0000 Subject: [PATCH] simplify --- stepmania/src/ScreenTextEntry.cpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/stepmania/src/ScreenTextEntry.cpp b/stepmania/src/ScreenTextEntry.cpp index e8049fa71f..eb625dbefe 100644 --- a/stepmania/src/ScreenTextEntry.cpp +++ b/stepmania/src/ScreenTextEntry.cpp @@ -181,14 +181,11 @@ void ScreenTextEntry::UpdateKeyboardText() void ScreenTextEntry::UpdateAnswerText() { - CString s = WStringToRString(m_sAnswer); + CString s; if( g_bPassword ) - { - int len = s.GetLength(); - s = ""; - for( int i=0; i= g_iMaxInputLength; if( m_bShowAnswerCaret && !bAnswerFull )