fix blinking cursor w/ formatted answer

This commit is contained in:
Chris Danford
2006-05-30 05:09:39 +00:00
parent f23e61af55
commit 7540f787dd
+2 -1
View File
@@ -139,10 +139,11 @@ void ScreenTextEntry::UpdateAnswerText()
else
s = WStringToRString(m_sAnswer);
bool bAnswerFull = (int) s.length() >= g_iMaxInputLength;
if( g_pFormatAnswerForDisplay )
s = g_pFormatAnswerForDisplay( s );
bool bAnswerFull = (int) s.length() >= g_iMaxInputLength;
if( m_bShowAnswerCaret && !bAnswerFull )
s += '_';
else