From 738f47bb222917fb0cb42e2350b7a826e0e338e2 Mon Sep 17 00:00:00 2001 From: Scott Ludwig Date: Sun, 3 Jan 2016 23:23:19 -0800 Subject: [PATCH] Replace deprecated UITextAlignmentCenter with NSTextAlignmentCenter --- game/iphone/chatviewcontroller.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/iphone/chatviewcontroller.mm b/game/iphone/chatviewcontroller.mm index 5b1c91d..ac39f42 100644 --- a/game/iphone/chatviewcontroller.mm +++ b/game/iphone/chatviewcontroller.mm @@ -132,7 +132,7 @@ titleLabel_ = [[UILabel alloc] initWithFrame:CGRectZero]; titleLabel_.font = [UIFont boldSystemFontOfSize:18]; - titleLabel_.textAlignment = UITextAlignmentCenter; + titleLabel_.textAlignment = NSTextAlignmentCenter; titleLabel_.textColor = [UIColor whiteColor]; titleLabel_.backgroundColor = [UIColor clearColor]; titleLabel_.shadowColor = [UIColor darkGrayColor];