Revision: 25425
          http://sourceforge.net/p/bibdesk/svn/25425
Author:   hofman
Date:     2021-01-17 22:34:17 +0000 (Sun, 17 Jan 2021)
Log Message:
-----------
Don't create waiting list when not supporting web icon

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVWebViewIcon.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVWebViewIcon.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVWebViewIcon.m   2021-01-17 
22:32:25 UTC (rev 25424)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVWebViewIcon.m   2021-01-17 
22:34:17 UTC (rev 25425)
@@ -98,7 +98,8 @@
         _maxWebViews = 0;
     }
     
-    _waitingList = (NSMutableArray *)CFArrayCreateMutable(NULL, 0, NULL);
+    if (_maxWebViews > 0)
+        _waitingList = (NSMutableArray *)CFArrayCreateMutable(NULL, 0, NULL);
 }
 
 // size of the view frame; large enough to fit a reasonably sized page

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