Replace usage of deprecated NSControlCharacterAction value

This commit is contained in:
Eric Jensen
2016-03-09 11:44:13 -08:00
parent de4e4db671
commit 9d4c53b0fa

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 it's a space character and we have custom word kerning, use the whitespace action control character.
if ([layoutManager.textStorage.string characterAtIndex:characterIndex] == ' ') if ([layoutManager.textStorage.string characterAtIndex:characterIndex] == ' ')
return NSControlCharacterWhitespaceAction; return NSControlCharacterActionWhitespace;
return defaultAction; return defaultAction;
} }