diff options
author | Marius Ursache <bamse16@yahoo.com> | 2013-11-09 20:30:14 +1100 |
---|---|---|
committer | Marius Ursache <bamse16@yahoo.com> | 2013-11-09 20:30:14 +1100 |
commit | 45aec0072910a34c20b1ff2b01989e59545d7e3d (patch) | |
tree | b8961775e500c3b315c4e0b2666ceb97d237d0c1 /Source/SPHistoryController.m | |
parent | a503dd832c5d323919bf1abd4125dec7db1b17ea (diff) | |
download | sequelpro-45aec0072910a34c20b1ff2b01989e59545d7e3d.tar.gz sequelpro-45aec0072910a34c20b1ff2b01989e59545d7e3d.tar.bz2 sequelpro-45aec0072910a34c20b1ff2b01989e59545d7e3d.zip |
Fixed NSMutableString vs NSString warnings
Diffstat (limited to 'Source/SPHistoryController.m')
-rw-r--r-- | Source/SPHistoryController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPHistoryController.m b/Source/SPHistoryController.m index ad9e094c..10806aba 100644 --- a/Source/SPHistoryController.m +++ b/Source/SPHistoryController.m @@ -563,7 +563,7 @@ NSDictionary *filterSettings = [theEntry objectForKey:@"contentFilter"]; if ([filterSettings objectForKey:@"filterField"]) { if([filterSettings objectForKey:@"menuLabel"]) { - theName = [NSString stringWithFormat:NSLocalizedString(@"%@ (Filtered by %@)", @"History item filtered by values label"), + theName = [NSMutableString stringWithFormat:NSLocalizedString(@"%@ (Filtered by %@)", @"History item filtered by values label"), theName, [filterSettings objectForKey:@"menuLabel"]]; } } @@ -572,7 +572,7 @@ if ([theEntry objectForKey:@"contentPageNumber"]) { NSUInteger pageNumber = [[theEntry objectForKey:@"contentPageNumber"] unsignedIntegerValue]; if (pageNumber > 1) { - theName = [NSString stringWithFormat:NSLocalizedString(@"%@ (Page %lu)", @"History item with page number label"), + theName = [NSMutableString stringWithFormat:NSLocalizedString(@"%@ (Page %lu)", @"History item with page number label"), theName, (unsigned long)pageNumber]; } } |