From ae22446dad54f9c244d804e40febdb828caae0b0 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 6 Oct 2010 19:23:32 -0700 Subject: [PATCH] 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 b86bb304..c8e2c1bc 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 { -- 2.45.2