aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r--Source/SPConnectionController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m
index a91f6929..905975dc 100644
--- a/Source/SPConnectionController.m
+++ b/Source/SPConnectionController.m
@@ -781,11 +781,11 @@ static NSComparisonResult _compareFavoritesUsingKey(id favorite1, id favorite2,
NSArray *objects = [NSArray arrayWithObjects:
NSLocalizedString(@"New Favorite", @"new favorite name"),
- [NSNumber numberWithInteger:0],
+ @0,
@"",
@"",
@"",
- [NSNumber numberWithInteger:-1],
+ @(-1),
@"",
[NSNumber numberWithInt:NSOffState],
[NSNumber numberWithInt:NSOffState],