Revision: 16557
          http://sourceforge.net/p/skim-app/code/16557
Author:   hofman
Date:     2026-09-28 09:13:46 +0000 (Mon, 28 Sep 2026)
Log Message:
-----------
instance method rather than class method to compare class

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

Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2026-09-27 21:51:39 UTC 
(rev 16556)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2026-09-28 09:13:46 UTC 
(rev 16557)
@@ -388,7 +388,7 @@
     self = [self initSkimNoteWithBounds:bounds];
 #pragma clang diagnostic push
 #pragma clang diagnostic ignored "-Wdeprecated-declarations"
-    if ([[self class] isSubclassOfClass:[PDFAnnotationMarkup class]]) {
+    if ([self isKindOfClass:[PDFAnnotationMarkup class]]) {
 #pragma clang diagnostic pop
         NSInteger markupType = kPDFMarkupTypeHighlight;
         if ([type isEqualToString:SKNUnderlineString] || [type 
isEqualToString:SKNSquigglyString])

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