--- a/project_files/HedgewarsMobile/Classes/ExtraCategories.m Sat Feb 11 19:24:09 2012 +0100
+++ b/project_files/HedgewarsMobile/Classes/ExtraCategories.m Sun Feb 12 10:08:58 2012 +0100
@@ -36,7 +36,7 @@
-(CGRect) safeBounds {
CGRect original = [self bounds];
- if (IS_IPAD() && UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation]))
+ if (IS_ON_PORTRAIT())
return original;
else
return CGRectMake(original.origin.x, original.origin.y, original.size.height, original.size.width);