summaryrefslogtreecommitdiff
path: root/Cydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-10-06 19:23:32 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2010-10-06 19:23:32 -0700
commit9373b14a9943e2bf10ac68d1314bdb2d0ae8ee43 (patch)
tree0de468df9b87cee4559683287e9cb602266d91e3 /Cydia.mm
parent719d6c2f7d9313210e285eb92e80b77606a28493 (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.mm7
1 files changed, 1 insertions, 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 {