Revision: 27590
          http://sourceforge.net/p/bibdesk/svn/27590
Author:   hofman
Date:     2022-06-09 09:07:29 +0000 (Thu, 09 Jun 2022)
Log Message:
-----------
append rather than using string format

Modified Paths:
--------------
    trunk/bibdesk/NSSortDescriptor_BDSKExtensions.m

Modified: trunk/bibdesk/NSSortDescriptor_BDSKExtensions.m
===================================================================
--- trunk/bibdesk/NSSortDescriptor_BDSKExtensions.m     2022-06-09 08:47:25 UTC 
(rev 27589)
+++ trunk/bibdesk/NSSortDescriptor_BDSKExtensions.m     2022-06-09 09:07:29 UTC 
(rev 27590)
@@ -148,7 +148,7 @@
     }else if([tcID isLocalFileField]){
         
         // compare UTI for file fields so the subsort is more useful
-        sortDescriptor = [[self alloc] initWithKey:[NSString 
stringWithFormat:@"URLFields.%@", tcID] ascending:ascend 
selector:@selector(UTICompare:)];
+        sortDescriptor = [[self alloc] initWithKey:[@"URLFields." 
stringByAppendingString:tcID] ascending:ascend selector:@selector(UTICompare:)];
         
     }else if([tcID isEqualToString:BDSKLocalFileString]){
         

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to