diff -r f88f67a17a9d -r 65602f1ef0f8 project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m --- a/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m Mon Jan 30 07:51:30 2012 +0100 +++ b/project_files/HedgewarsMobile/Classes/GameInterfaceBridge.m Mon Jan 30 23:20:28 2012 +0100 @@ -128,15 +128,9 @@ width = screenBounds.size.width; height = screenBounds.size.height; } else { - CGRect screenBounds = [[UIScreen mainScreen] bounds]; - UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation]; - if ((orientation == UIInterfaceOrientationLandscapeLeft) || (orientation == UIInterfaceOrientationLandscapeRight)) { - width = screenBounds.size.height; - height = screenBounds.size.width; - } else { - width = screenBounds.size.width; - height = screenBounds.size.height; - } + CGRect screenBounds = [[UIScreen mainScreen] safeBounds]; + width = screenBounds.size.width; + height = screenBounds.size.height; } NSString *horizontalSize = [[NSString alloc] initWithFormat:@"%d", (int)(width * screenScale)];