trivial changes

This commit is contained in:
Mitchell Livingston
2013-02-08 13:02:16 +00:00
parent a61a67ec49
commit e79005e150
4 changed files with 11 additions and 17 deletions

View File

@@ -82,7 +82,7 @@ typedef void (^CompletionBlock)(BOOL);
{
[super windowDidLoad];
NSString * name = self.node ? [self.node name] : [self.torrent name];
NSString * name = [self.node name] ?: [self.torrent name];
NSString * label = [NSString stringWithFormat: NSLocalizedString(@"Rename the file \"%@\":", "rename sheet label"), name];
[self.labelField setStringValue: label];