--- 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 {