Revision: 28955
          http://sourceforge.net/p/bibdesk/svn/28955
Author:   hofman
Date:     2024-10-15 09:25:39 +0000 (Tue, 15 Oct 2024)
Log Message:
-----------
fix method name

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

Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2024-10-15 09:22:49 UTC (rev 28954)
+++ trunk/bibdesk/BibDocument.m 2024-10-15 09:25:39 UTC (rev 28955)
@@ -1966,7 +1966,7 @@
     NSDate *importDate = [NSDate date];
     NSString *importDateDescription = [importDate standardDescription];
     for (BibItem *pub in publications)
-        [pub markNeWithDate:importDate description:importDateDescription];
+        [pub markNewWithDate:importDate description:importDateDescription];
 }
 
 - (void)generateForTemporaryCiteKey:(NSString *)tmpKey {
@@ -2167,7 +2167,7 @@
     NSDate *importDate = [NSDate date];
     NSString *importDateDescription = [importDate standardDescription];
     for (pub in newPubs)
-        [pub markNeWithDate:importDate description:importDateDescription];
+        [pub markNewWithDate:importDate description:importDateDescription];
     
     if ((options & BDSKImportSelectLibrary))
         [self selectLibraryGroup:nil];    

Modified: trunk/bibdesk/BibItem.h
===================================================================
--- trunk/bibdesk/BibItem.h     2024-10-15 09:22:49 UTC (rev 28954)
+++ trunk/bibdesk/BibItem.h     2024-10-15 09:25:39 UTC (rev 28955)
@@ -457,7 +457,7 @@
 @property (nonatomic, readonly) NSDate *dateAdded;
 @property (nonatomic, readonly) NSDate *dateModified;
 
-- (void)markNeWithDate:(NSDate *)date description:(NSString *)dateDescription;
+- (void)markNewWithDate:(NSDate *)date description:(NSString *)dateDescription;
 
 - (void)markCiteKeyEdited;
 

Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m     2024-10-15 09:22:49 UTC (rev 28954)
+++ trunk/bibdesk/BibItem.m     2024-10-15 09:25:39 UTC (rev 28955)
@@ -213,7 +213,7 @@
                
         if (isNew){
             NSDate *date = [NSDate date];
-            [self markNeWithDate:date description:[date standardDescription]];
+            [self markNewWithDate:date description:[date standardDescription]];
         }
         
         biFlags.hasEditedCiteKey = NO;
@@ -473,7 +473,7 @@
     return hash;
 }
 
-- (void)markNeWithDate:(NSDate *)date description:(NSString *)dateDescription {
+- (void)markNewWithDate:(NSDate *)date description:(NSString *)dateDescription 
{
     [pubFields setObject:dateDescription forKey:BDSKDateAddedString];
     [pubFields setObject:dateDescription forKey:BDSKDateModifiedString];
     [self setDateAdded:date];

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

Reply via email to