]> git.saurik.com Git - cydia.git/commitdiff
We don't want a compile-time flag for RotationEnabled: we want it to work that way...
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 7 Oct 2010 02:23:32 +0000 (19:23 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 7 Oct 2010 02:23:32 +0000 (19:23 -0700)
Cydia.mm

index b86bb30410f036932a00a5218392a6b6cbb63770..c8e2c1bc239f71050aa0acbf55cf11c2951ccfd9 100644 (file)
--- 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 {