project_files/HedgewarsMobile/Classes/WeaponCellView.m
changeset 3996 eb549fd864a5
parent 3829 81db3c85784b
child 4976 088d40d8aba2
--- a/project_files/HedgewarsMobile/Classes/WeaponCellView.m	Mon Oct 25 17:39:50 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/WeaponCellView.m	Mon Oct 25 22:19:00 2010 +0200
@@ -133,7 +133,7 @@
     CGFloat shiftSliders = contentRect.origin.x;
     CGFloat shiftLabel = 0;
 
-    if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
+    if (IS_IPAD()) {
         shiftSliders += 65;
         shiftLabel += 165;
     } else