diff options
author | ritsuka <[email protected]> | 2015-03-17 13:56:21 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-03-17 13:56:21 +0000 |
commit | 48a9e546878ae074202e0301f428193b7915d68f (patch) | |
tree | cf3f0f270fc8c7430dec870e954c826926c02a60 /macosx/HBAttributedStringAdditions.m | |
parent | 220bd888e05696acbe1dd47f96ded78c389fc27f (diff) |
MacGui: convert the mac gui to Objective-C ARC.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6996 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAttributedStringAdditions.m')
-rw-r--r-- | macosx/HBAttributedStringAdditions.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBAttributedStringAdditions.m b/macosx/HBAttributedStringAdditions.m index fc685482d..3700eb964 100644 --- a/macosx/HBAttributedStringAdditions.m +++ b/macosx/HBAttributedStringAdditions.m @@ -12,8 +12,8 @@ - (void)appendString:(NSString *)aString withAttributes:(NSDictionary *)aDictionary { - NSAttributedString *s = [[[NSAttributedString alloc] initWithString:aString - attributes:aDictionary] autorelease]; + NSAttributedString *s = [[NSAttributedString alloc] initWithString:aString + attributes:aDictionary]; [self appendAttributedString:s]; } |