Simplify.

This commit is contained in:
Steve Checkoway
2006-10-11 11:12:09 +00:00
parent 35a20193ef
commit 6fd4694b79
5 changed files with 6 additions and 27 deletions
+1 -5
View File
@@ -406,11 +406,7 @@ void ScreenTextEntryVisual::MoveY( int iDir )
do
{
m_iFocusY = enum_add2( m_iFocusY, +iDir );
{
int temp = m_iFocusY;
wrap( temp, NUM_KeyboardRow );
m_iFocusY = KeyboardRow( temp );
}
wrap( UnionCast(m_iFocusY), NUM_KeyboardRow );
// HACK: Round to nearest option so that we always stop
// on KEYBOARD_ROW_SPECIAL.