Revision: 29647
          http://sourceforge.net/p/bibdesk/svn/29647
Author:   hofman
Date:     2025-09-30 14:17:15 +0000 (Tue, 30 Sep 2025)
Log Message:
-----------
invert condition

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

Modified: trunk/bibdesk/BDSKNotesSearchIndex.m
===================================================================
--- trunk/bibdesk/BDSKNotesSearchIndex.m        2025-09-30 14:14:00 UTC (rev 
29646)
+++ trunk/bibdesk/BDSKNotesSearchIndex.m        2025-09-30 14:17:15 UTC (rev 
29647)
@@ -128,7 +128,7 @@
     
     dispatch_async(queue, ^{
         for (NSDictionary *item in items) {
-            if ([self shouldKeepRunning]) break;
+            if ([self shouldKeepRunning] == NO) break;
             NSURL *identifierURL = [item 
objectForKey:BDSKBibItemIdentifierURLKey];
             NSArray *fileURLs = [item objectForKey:BDSKBibItemURLsKey];
             [self indexItemForIdentifierURL:identifierURL fileURLs:fileURLs 
removeEmpty:YES];
@@ -141,7 +141,7 @@
     
     dispatch_async(queue, ^{
         for (NSURL *identifierURL in itemURLs) {
-            if ([self shouldKeepRunning]) break;
+            if ([self shouldKeepRunning] == NO) break;
             [self indexItemForIdentifierURL:identifierURL fileURLs:nil 
removeEmpty:YES];
         }
     });
@@ -171,7 +171,7 @@
     
     dispatch_async(queue, ^{
         for (NSDictionary *item in items) {
-            if ([self shouldKeepRunning]) break;
+            if ([self shouldKeepRunning] == NO) break;
             NSURL *identifierURL = [item 
objectForKey:BDSKBibItemIdentifierURLKey];
             NSArray *fileURLs = [item objectForKey:BDSKBibItemURLsKey];
             [self indexItemForIdentifierURL:identifierURL fileURLs:fileURLs 
removeEmpty:NO];

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