--- a/project_files/HedgewarsMobile/ExtraCategories.m Tue Oct 25 22:51:10 2011 +0200
+++ b/project_files/HedgewarsMobile/ExtraCategories.m Wed Oct 26 00:30:35 2011 +0200
@@ -23,6 +23,19 @@
#import <QuartzCore/QuartzCore.h>
#import <CommonCrypto/CommonDigest.h>
+
+@implementation UIScreen (safe)
+
+-(CGFloat) safeScale {
+ CGFloat theScale = 1.0f;
+ if ([self respondsToSelector:@selector(scale)])
+ theScale = [self scale];
+ return theScale;
+}
+
+@end
+
+
@implementation UITableView (backgroundColor)
-(void) setBackgroundColorForAnyTable:(UIColor *) color {