project_files/HedgewarsMobile/Classes/SavedGamesViewController.m
changeset 3996 eb549fd864a5
parent 3978 9660600e43cb
child 4030 adbb37b8c487
--- a/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m	Mon Oct 25 17:39:50 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/SavedGamesViewController.m	Mon Oct 25 22:19:00 2010 +0200
@@ -85,7 +85,7 @@
 
 -(IBAction) clearAll:(id) sender {
     NSString *titleStr, *cancelStr, *confirmStr;
-    if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
+    if (IS_IPAD()) {
         titleStr = nil;
         cancelStr = nil;
         confirmStr = NSLocalizedString(@"Tap to confirm",@"");