From 9373b14a9943e2bf10ac68d1314bdb2d0ae8ee43 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 6 Oct 2010 19:23:32 -0700 Subject: We don't want a compile-time flag for RotationEnabled: we want it to work that way only if we are on an iPad. --- Cydia.mm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Cydia.mm b/Cydia.mm index b86bb30..c8e2c1b 100644 --- a/Cydia.mm +++ b/Cydia.mm @@ -386,7 +386,6 @@ static const CFStringCompareFlags LaxCompareFlags_ = kCFCompareCaseInsensitive | #define ShowInternals (0 && !ForRelease) #define IgnoreInstall (0 && !ForRelease) #define RecycleWebViews 0 -#define RotationEnabled 1 #define RecyclePackageViews (1 && ForRelease) #define AlwaysReload (1 && !ForRelease) @@ -7655,11 +7654,7 @@ freeing the view controllers on tab change */ } - (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)orientation { -#ifdef RotationEnabled - return YES; -#else - return NO; -#endif + return IsWildcat_; } - (void) setTabBarController:(UITabBarController *)controller { -- cgit v1.2.3