Revision: 28874
          http://sourceforge.net/p/bibdesk/svn/28874
Author:   hofman
Date:     2024-04-28 14:33:56 +0000 (Sun, 28 Apr 2024)
Log Message:
-----------
pointer may be null

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

Modified: trunk/bibdesk/BDSKCompletionManager.m
===================================================================
--- trunk/bibdesk/BDSKCompletionManager.m       2024-04-28 14:32:56 UTC (rev 
28873)
+++ trunk/bibdesk/BDSKCompletionManager.m       2024-04-28 14:33:56 UTC (rev 
28874)
@@ -306,7 +306,7 @@
     [matches sortUsingSelector:@selector(caseInsensitiveCompare:)];
     [subMatches sortUsingSelector:@selector(caseInsensitiveCompare:)];
     
-    if ([[matches firstObject] length] == [partialString length])
+    if (idx && [[matches firstObject] length] == [partialString length])
         *idx = 0;
     
     [matches addObjectsFromArray:subMatches];

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