project_files/HedgewarsMobile/Classes/MainMenuViewController.m
changeset 3996 eb549fd864a5
parent 3971 5c82ee165ed5
child 4149 51200479f9d8
--- a/project_files/HedgewarsMobile/Classes/MainMenuViewController.m	Mon Oct 25 17:39:50 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/MainMenuViewController.m	Mon Oct 25 22:19:00 2010 +0200
@@ -158,7 +158,7 @@
     switch (button.tag) {
         case 0:
             if (nil == self.gameConfigViewController) {
-                if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
+                if (IS_IPAD())
                     xib = nil;
                 else
                     xib = @"GameConfigViewController";