Revision: 29938
          http://sourceforge.net/p/bibdesk/svn/29938
Author:   hofman
Date:     2025-12-02 17:46:12 +0000 (Tue, 02 Dec 2025)
Log Message:
-----------
get isDirectory from absolute string

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

Modified: trunk/bibdesk/NSURL_BDSKExtensions.m
===================================================================
--- trunk/bibdesk/NSURL_BDSKExtensions.m        2025-12-02 17:41:14 UTC (rev 
29937)
+++ trunk/bibdesk/NSURL_BDSKExtensions.m        2025-12-02 17:46:12 UTC (rev 
29938)
@@ -155,7 +155,7 @@
 }
 
 - (NSURL *)fileURLByResolvingAliasesInContainer {
-    return [[[self URLByDeletingLastPathComponent] 
fileURLByResolvingAliasesStrictly:NO] URLByAppendingPathComponent:[self 
lastPathComponent] isDirectory:NO];
+    return [[[self URLByDeletingLastPathComponent] 
fileURLByResolvingAliasesStrictly:NO] URLByAppendingPathComponent:[self 
lastPathComponent] isDirectory:[[self absoluteString] hasSuffix:@"/"]];
 }
 
 + (NSURL *)fileURLWithAliasData:(NSData *)aliasData bookmarkData:(NSData 
*)bmData allowUI:(BOOL)allowUI {

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