Revision: 28388
          http://sourceforge.net/p/bibdesk/svn/28388
Author:   hofman
Date:     2023-10-03 14:18:40 +0000 (Tue, 03 Oct 2023)
Log Message:
-----------
use ternary operator

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

Modified: trunk/bibdesk/BDSKFilerErrorController.m
===================================================================
--- trunk/bibdesk/BDSKFilerErrorController.m    2023-10-03 09:44:31 UTC (rev 
28387)
+++ trunk/bibdesk/BDSKFilerErrorController.m    2023-10-03 14:18:40 UTC (rev 
28388)
@@ -146,7 +146,7 @@
                               NSLocalizedString(@"Status: ",@"Label for 
autofile dump"),
                               [info objectForKey:BDSKFilerStatusKey], @"\n", 
                               NSLocalizedString(@"Fix: ", @"Label for autofile 
dump"),
-                              (([info objectForKey:BDSKFilerFixKey] == nil) ? 
NSLocalizedString(@"Cannot fix.", @"Cannot fix AutoFile error") : [info 
objectForKey:BDSKFilerFixKey]),
+                              [info objectForKey:BDSKFilerFixKey] ?: 
NSLocalizedString(@"Cannot fix.", @"Cannot fix AutoFile error"),
                               @"\n\n", nil];
     }
     

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