Revision: 26825 http://sourceforge.net/p/bibdesk/svn/26825 Author: hofman Date: 2021-09-08 09:35:55 +0000 (Wed, 08 Sep 2021) Log Message: ----------- Add a comment
Modified Paths: -------------- trunk/bibdesk/BDSKLinkedFile.m Modified: trunk/bibdesk/BDSKLinkedFile.m =================================================================== --- trunk/bibdesk/BDSKLinkedFile.m 2021-09-08 09:31:51 UTC (rev 26824) +++ trunk/bibdesk/BDSKLinkedFile.m 2021-09-08 09:35:55 UTC (rev 26825) @@ -548,7 +548,7 @@ if (fileRef == nil) { NSURL *refURL = nil; - if (fileURL) { + if (fileURL) { // this should never happen, fileRef is nil only initially, when fileURL is also nil refURL = (NSURL *)CFURLCreateFileReferenceURL(kCFAllocatorDefault, (CFURLRef)fileURL, NULL); shouldUpdate = basePath != nil && refURL != nil; } @@ -611,7 +611,7 @@ FSRef aRef; BOOL hasRef = NO; - if (fileURL) { + if (fileURL) { // this should never happen, fileRef is nil only initially, when fileURL is also nil hasRef = BDSKPathToFSRef([fileURL path], &aRef); shouldUpdate = hasBaseRef && hasRef; } 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