Revision: 14636
          http://sourceforge.net/p/skim-app/code/14636
Author:   hofman
Date:     2024-11-03 22:18:53 +0000 (Sun, 03 Nov 2024)
Log Message:
-----------
don't use else for non-excluding condition

Modified Paths:
--------------
    trunk/SkimNotes/PDFAnnotation_SKNExtensions.m

Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2024-11-03 22:11:29 UTC 
(rev 14635)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2024-11-03 22:18:53 UTC 
(rev 14636)
@@ -686,7 +686,9 @@
                 color = SKNColorFromAnnotationValue(value);
             if (color)
                 [dict setValue:color forKey:SKNPDFAnnotationInteriorColorKey];
-        } else if ([type isEqualToString:SKNTextString] || [type 
isEqualToString:SKNNoteString]) {
+        }
+        
+        if ([type isEqualToString:SKNTextString] || [type 
isEqualToString:SKNNoteString]) {
             if ([self respondsToSelector:@selector(iconType)])
                 [dict setValue:[NSNumber numberWithInteger:[(id)self 
iconType]] forKey:SKNPDFAnnotationIconTypeKey];
             else if ((value = [self valueForAnnotationKey:@"/Name"]))

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