Skip to content

Commit

Permalink
Eliminated some unnecessary breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Erica Sadun authored and Erica Sadun committed Aug 5, 2009
1 parent d42f9ba commit ef7b35e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions UIDevice-Hardware.m
Original file line number Diff line number Diff line change
Expand Up @@ -379,13 +379,13 @@ - (NSString *) orientationString
{
switch ([[UIDevice currentDevice] orientation])
{
case UIDeviceOrientationUnknown: return @"Unknown"; break;
case UIDeviceOrientationPortrait: return @"Portrait"; break;
case UIDeviceOrientationPortraitUpsideDown: return @"Portrait Upside Down"; break;
case UIDeviceOrientationLandscapeLeft: return @"Landscape Left"; break;
case UIDeviceOrientationLandscapeRight: return @"Landscape Right"; break;
case UIDeviceOrientationFaceUp: return @"Face Up"; break;
case UIDeviceOrientationFaceDown: return @"Face Down"; break;
case UIDeviceOrientationUnknown: return @"Unknown";
case UIDeviceOrientationPortrait: return @"Portrait";
case UIDeviceOrientationPortraitUpsideDown: return @"Portrait Upside Down";
case UIDeviceOrientationLandscapeLeft: return @"Landscape Left";
case UIDeviceOrientationLandscapeRight: return @"Landscape Right";
case UIDeviceOrientationFaceUp: return @"Face Up";
case UIDeviceOrientationFaceDown: return @"Face Down";
default: break;
}
return nil;
Expand Down

0 comments on commit ef7b35e

Please sign in to comment.