This commit is contained in:
Glenn Maynard
2006-01-28 23:19:26 +00:00
parent c52ab6fa5e
commit 0fe14c6940
+1 -2
View File
@@ -221,7 +221,7 @@ void ScreenTextEntry::Input( const InputEventPlus &input )
if( input.type == IET_FIRST_PRESS ) if( input.type == IET_FIRST_PRESS )
{ {
if( input.DeviceI.button == KEY_BACK ) if( input.DeviceI == DeviceInput(DEVICE_KEYBOARD, KEY_BACK) )
{ {
BackspaceInAnswer(); BackspaceInAnswer();
} }
@@ -232,7 +232,6 @@ void ScreenTextEntry::Input( const InputEventPlus &input )
INPUTFILTER->IsBeingPressed( DeviceInput(input.DeviceI.device, KEY_LSHIFT)); INPUTFILTER->IsBeingPressed( DeviceInput(input.DeviceI.device, KEY_LSHIFT));
if( bIsHoldingShift ) if( bIsHoldingShift )
{ {
char c = (char)toupper( input.DeviceI.ToChar() ); char c = (char)toupper( input.DeviceI.ToChar() );
switch( c ) switch( c )