aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryFavoriteManager.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPQueryFavoriteManager.m')
-rw-r--r--Source/SPQueryFavoriteManager.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPQueryFavoriteManager.m b/Source/SPQueryFavoriteManager.m
index 97f7790b..a7147646 100644
--- a/Source/SPQueryFavoriteManager.m
+++ b/Source/SPQueryFavoriteManager.m
@@ -422,7 +422,7 @@
// Identify the tab completion index
NSRange snippetNumberRange = [queryString rangeOfRegex:snipRegex options:RKLNoOptions inRange:matchedRange capture:1L error:NULL];
NSInteger snippetNumber = [[queryString substringWithRange:snippetNumberRange] integerValue];
- [snippetNumbers setObject:[NSNumber numberWithBool:YES] forKey:[NSNumber numberWithInteger:snippetNumber]];
+ [snippetNumbers setObject:@YES forKey:[NSNumber numberWithInteger:snippetNumber]];
rangeStart = matchedRange.location + matchedRange.length;
}
@@ -919,7 +919,7 @@
[spfdata setObject:[NSNumber numberWithInteger:1] forKey:@"version"];
[spfdata setObject:@"query favorites" forKey:@"format"];
- [spfdata setObject:[NSNumber numberWithBool:NO] forKey:@"encrypted"];
+ [spfdata setObject:@NO forKey:@"encrypted"];
NSIndexSet *indexes = [favoritesTableView selectedRowIndexes];