Revision: 14667
          http://sourceforge.net/p/skim-app/code/14667
Author:   hofman
Date:     2024-11-10 16:33:46 +0000 (Sun, 10 Nov 2024)
Log Message:
-----------
it is OK to set a nil label, the getter will always return a non-nil value for 
this type anyway

Modified Paths:
--------------
    trunk/SKBookmark.m

Modified: trunk/SKBookmark.m
===================================================================
--- trunk/SKBookmark.m  2024-11-10 16:32:05 UTC (rev 14666)
+++ trunk/SKBookmark.m  2024-11-10 16:33:46 UTC (rev 14667)
@@ -345,7 +345,7 @@
     NSMutableArray *aChildren = [NSMutableArray array];
     SKBookmark *child;
     for (NSDictionary *setup in aSetupDicts) {
-        if ((child = [[SKBookmark alloc] initWithSetup:setup label:@""])) {
+        if ((child = [[SKBookmark alloc] initWithSetup:setup label:nil])) {
             [aChildren addObject:child];
         }
     }

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



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to