Revision: 27516
          http://sourceforge.net/p/bibdesk/svn/27516
Author:   hofman
Date:     2022-06-01 15:47:11 +0000 (Wed, 01 Jun 2022)
Log Message:
-----------
initializes files array with passed array rather than itself

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

Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m     2022-06-01 09:35:11 UTC (rev 27515)
+++ trunk/bibdesk/BibItem.m     2022-06-01 15:47:11 UTC (rev 27516)
@@ -251,7 +251,7 @@
     self = [super init];
     if (self){
                pubFields = [[NSMutableDictionary alloc] 
initWithDictionary:fieldsDict];
-        files = [[NSMutableArray alloc] initWithArray:files];
+        files = [[NSMutableArray alloc] initWithArray:filesArray];
         [files setValue:self forKey:@"delegate"];
                if (isNew){
                        NSString *nowStr = [[NSDate date] standardDescription];

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