Revision: 16621
          http://sourceforge.net/p/skim-app/code/16621
Author:   hofman
Date:     2026-10-06 21:26:12 +0000 (Tue, 06 Oct 2026)
Log Message:
-----------
use valueWithCGPoint: on iOS

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

Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2026-10-06 21:19:52 UTC 
(rev 16620)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m       2026-10-06 21:26:12 UTC 
(rev 16621)
@@ -1110,10 +1110,10 @@
             case kCGPathElementCloseSubpath: return;
             default: i = 0; break;
         }
-        [points addObject:[NSValue valueWithBytes:&p[i] 
objCType:@encode(CGPoint)]];
+        [points addObject:[NSValue valueWithCGPoint:p[i]]];
     });
     
-    [points addObject:[NSValue valueWithBytes:&point 
objCType:@encode(CGPoint)]];
+    [points addObject:[NSValue valueWithCGPoint:point]];
     
     [self setPoints:points ofSkimNotePath:path];
 #else

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