[Xcode4] May as well fix switch warnings.

Still need some assistance for the linker error.
This commit is contained in:
Jason Felds
2011-07-20 11:11:04 -04:00
parent 87c16e9561
commit dbdab4759e
51 changed files with 1159 additions and 1033 deletions
+11 -6
View File
@@ -95,14 +95,19 @@ void ScreenTestInput::Input( const InputEventPlus &input )
RString sMessage = input.DeviceI.ToString();
switch( input.type )
{
case IET_FIRST_PRESS:
case IET_RELEASE:
switch( input.type )
case IET_FIRST_PRESS:
case IET_RELEASE:
{
case IET_FIRST_PRESS: sMessage += "Pressed"; break;
case IET_RELEASE: sMessage += "Released"; break;
switch( input.type )
{
case IET_FIRST_PRESS: sMessage += "Pressed"; break;
case IET_RELEASE: sMessage += "Released"; break;
default: break;
}
MESSAGEMAN->Broadcast( sMessage );
break;
}
MESSAGEMAN->Broadcast( sMessage );
default: break;
}
Screen::Input( input ); // default handler