Revision: 28820 http://sourceforge.net/p/bibdesk/svn/28820 Author: hofman Date: 2024-02-25 17:21:11 +0000 (Sun, 25 Feb 2024) Log Message: ----------- get path extension directly
Modified Paths: -------------- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFinderIcon.m Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFinderIcon.m =================================================================== --- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFinderIcon.m 2024-02-25 16:55:30 UTC (rev 28819) +++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVFinderIcon.m 2024-02-25 17:21:11 UTC (rev 28820) @@ -66,7 +66,7 @@ // rdar://problem/6028378 .savedSearch files have a dynamic UTI that does not conform to the UTI for a saved search - CFStringRef extension = (__bridge CFStringRef)[[aURL path] pathExtension]; + CFStringRef extension = (__bridge CFStringRef)[aURL pathExtension]; CFStringRef UTIFromExtension = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, extension, NULL); BOOL isSavedSearch = NO; if (NULL != UTIFromExtension) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit