diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2010-10-06 19:23:32 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-10-06 19:23:32 -0700 |
commit | 9373b14a9943e2bf10ac68d1314bdb2d0ae8ee43 (patch) | |
tree | 0de468df9b87cee4559683287e9cb602266d91e3 /Cydia.mm | |
parent | 719d6c2f7d9313210e285eb92e80b77606a28493 (diff) |
We don't want a compile-time flag for RotationEnabled: we want it to work that way only if we are on an iPad.
Diffstat (limited to 'Cydia.mm')
-rw-r--r-- | Cydia.mm | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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 { |