Revision: 28469
          http://sourceforge.net/p/bibdesk/svn/28469
Author:   hofman
Date:     2023-12-06 16:36:39 +0000 (Wed, 06 Dec 2023)
Log Message:
-----------
invert condition to disable export of RTF attributes

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

Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2023-11-28 22:19:18 UTC (rev 28468)
+++ trunk/bibdesk/BibDocument.m 2023-12-06 16:36:39 UTC (rev 28469)
@@ -1713,7 +1713,7 @@
         NSMutableDictionary *mutableAttributes = [NSMutableDictionary 
dictionaryWithDictionary:docAttributes];
         
         // create some useful metadata, with an option to disable for the 
paranoid
-        if([[NSUserDefaults standardUserDefaults] 
boolForKey:BDSKDisableExportAttributesKey])
+        if(NO == [[NSUserDefaults standardUserDefaults] 
boolForKey:BDSKDisableExportAttributesKey])
             [mutableAttributes 
addEntriesFromDictionary:@{NSAuthorDocumentAttribute:NSFullUserName(), 
NSCreationTimeDocumentAttribute:[NSDate date], 
NSTitleDocumentAttribute:[NSLocalizedString(@"BibDesk export of ", @"Error 
description") stringByAppendingString:[[[self fileURL] path] 
lastPathComponent]]}];
         [mutableAttributes setObject:[template documentType] 
forKey:NSDocumentTypeDocumentAttribute];
         

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