project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m
changeset 11549 893722a2a1f9
parent 11323 1f517a461c33
child 12872 00215a7ec5f5
--- a/project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m	Sun Feb 14 21:34:01 2016 +0100
+++ b/project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m	Mon Feb 15 23:37:48 2016 +0100
@@ -226,7 +226,7 @@
     
     cell.textLabel.textColor = [UIColor lightYellowColor];
     //cell.textLabel.font = [UIFont fontWithName:@"Bradley Hand Bold" size:[UIFont labelFontSize]];
-    cell.textLabel.textAlignment = (IS_IPAD()) ? UITextAlignmentCenter : UITextAlignmentLeft;
+    cell.textLabel.textAlignment = (IS_IPAD()) ? NSTextAlignmentCenter : NSTextAlignmentLeft;
     cell.textLabel.backgroundColor = [UIColor clearColor];
     cell.textLabel.adjustsFontSizeToFitWidth = YES;
     cell.detailTextLabel.text = (IS_IPAD()) ? nil : self.dictOfMissions[missionID][@"desc"];