project_files/HedgewarsMobile/Classes/SplitViewRootController.m
changeset 3996 eb549fd864a5
parent 3971 5c82ee165ed5
child 4356 d1d26f8963a3
--- a/project_files/HedgewarsMobile/Classes/SplitViewRootController.m	Mon Oct 25 17:39:50 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/SplitViewRootController.m	Mon Oct 25 22:19:00 2010 +0200
@@ -51,7 +51,7 @@
     }
     UINavigationController *rightNavController = [[UINavigationController alloc] initWithRootViewController:self.activeController];
 
-    if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
+    if (IS_IPAD()) {
         MasterViewController *leftController = [[MasterViewController alloc] initWithStyle:UITableViewStylePlain];
         leftController.targetController = self.activeController;
         UINavigationController *leftNavController = [[UINavigationController alloc] initWithRootViewController:leftController];