Revision: 22418
          http://sourceforge.net/p/bibdesk/svn/22418
Author:   hofman
Date:     2018-07-14 09:42:59 +0000 (Sat, 14 Jul 2018)
Log Message:
-----------
use local variable

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

Modified: trunk/bibdesk/BDSKAppController.m
===================================================================
--- trunk/bibdesk/BDSKAppController.m   2018-07-14 09:42:26 UTC (rev 22417)
+++ trunk/bibdesk/BDSKAppController.m   2018-07-14 09:42:59 UTC (rev 22418)
@@ -261,7 +261,7 @@
         [fields release];
         [[BDSKTypeManager sharedManager] updateCustomFields];
     }
-    if ([[NSUserDefaults standardUserDefaults] 
boolForKey:BDSKUseLocalUrlAndUrlKey]) {
+    if ([sud boolForKey:BDSKUseLocalUrlAndUrlKey]) {
         // enforce Local-Url as local file field and Url as remote URL field
         fields = [sud stringArrayForKey:BDSKLocalFileFieldsKey];
         if ([fields containsObject:BDSKLocalUrlString] == NO) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to