Merge pull request #1352 from ejensen/deprecated-enum

[ASTextKit] Update usage of deprecated NSControlCharacterAction value
This commit is contained in:
appleguy 2016-03-10 00:28:02 -08:00
commit d40b6c61c8

View File

@ -68,7 +68,7 @@
{
// If it's a space character and we have custom word kerning, use the whitespace action control character.
if ([layoutManager.textStorage.string characterAtIndex:characterIndex] == ' ')
return NSControlCharacterWhitespaceAction;
return NSControlCharacterActionWhitespace;
return defaultAction;
}