From baeca52eedf93a85606e2c2fb0daf3a734cb20bd Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sun, 16 Sep 2007 16:13:51 +0000 Subject: [PATCH] use "init" instead of "initWithString: @""" --- macosx/Torrent.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/macosx/Torrent.m b/macosx/Torrent.m index eec19d389..2c8a63966 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -279,10 +279,10 @@ static int static_lastid = 0; [[NSNotificationCenter defaultCenter] postNotificationName: @"TorrentStoppedForRatio" object: self]; } - NSMutableString * progressString = [[NSMutableString alloc] initWithString: @""], - * remainingTimeString = [[NSMutableString alloc] initWithString: @""], - * statusString = [[NSMutableString alloc] initWithString: @""], - * shortStatusString = [[NSMutableString alloc] initWithString: @""]; + NSMutableString * progressString = [[NSMutableString alloc] init], + * remainingTimeString = [[NSMutableString alloc] init], + * statusString = [[NSMutableString alloc] init], + * shortStatusString = [[NSMutableString alloc] init]; if (![self allDownloaded]) [progressString appendFormat: NSLocalizedString(@"%@ of %@ (%.2f%%)", "Torrent -> progress string"), @@ -466,7 +466,7 @@ static int static_lastid = 0; fProgressString = progressString; [fStatusString release]; - fStatusString = statusString; + fStatusString = statusString; [fShortStatusString release]; fShortStatusString = shortStatusString;