project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m
changeset 6671 5532d5f6285c
parent 6670 d57fa21781ea
child 6700 e04da46ee43c
--- a/project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m	Sat Feb 11 19:24:09 2012 +0100
+++ b/project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m	Sun Feb 12 10:08:58 2012 +0100
@@ -189,7 +189,7 @@
     if (0 == [indexPath section])
         return aTableView.rowHeight;
     else
-        return UIInterfaceOrientationIsPortrait([[UIApplication sharedApplication] statusBarOrientation]) ? 208 : 120;
+        return IS_ON_PORTRAIT() ? 208 : 120;
 }
 
 -(NSString *)tableView:(UITableView *)aTableView titleForHeaderInSection:(NSInteger)section {