[coretext] Minor
This commit is contained in:
parent
130856c705
commit
fd1a6aa8d0
@ -678,7 +678,8 @@ retry:
|
||||
|
||||
/* Create an attributed string, populate it, and create a line from it, then release attributed string. */
|
||||
{
|
||||
CFMutableAttributedStringRef attr_string = CFAttributedStringCreateMutable (NULL, chars_len);
|
||||
CFMutableAttributedStringRef attr_string = CFAttributedStringCreateMutable (kCFAllocatorDefault,
|
||||
chars_len);
|
||||
if (unlikely (!attr_string))
|
||||
FAIL ("CFAttributedStringCreateMutable failed");
|
||||
CFAttributedStringReplaceString (attr_string, CFRangeMake (0, 0), string_ref);
|
||||
|
Loading…
Reference in New Issue
Block a user