Revision: 16542
http://sourceforge.net/p/skim-app/code/16542
Author: hofman
Date: 2026-09-27 08:50:38 +0000 (Sun, 27 Sep 2026)
Log Message:
-----------
Use correct function and variable.
Modified Paths:
--------------
trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2026-09-26 21:56:13 UTC
(rev 16541)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2026-09-27 08:50:38 UTC
(rev 16542)
@@ -547,7 +547,7 @@
NSArray *pointLists = [dict
objectForKey:SKNPDFAnnotationPointListsKey];
if ([pointLists isKindOfClass:arrayClass]) {
- for (NSArray *pointStrings in pointStrings) {
+ for (NSArray *pointStrings in pointLists) {
if ([pointStrings isKindOfClass:arrayClass]) {
PDFKitPlatformBezierPath *path =
[[PDFKitPlatformBezierPath alloc] init];
[[self class] setPoints:pointStrings
ofSkimNotePath:path];
@@ -845,9 +845,9 @@
} else if ([type isEqualToString:SKNFreeTextString]) {
if ([self respondsToSelector:@selector(alignment)]) {
- [dict setValue:[NSNumber
numberWithInteger:SKNTextAlignmentFromAlignment([(id)self alignment])]
forKey:SKNPDFAnnotationAlignmentKey];
+ [dict setValue:[NSNumber
numberWithInteger:SKNAlignmentFromTextAlignment([(id)self alignment])]
forKey:SKNPDFAnnotationAlignmentKey];
} else if ((value = [self
valueForAnnotationKey:PDFAnnotationKeyQuadding])) {
- [dict setValue:[NSNumber
numberWithInteger:SKNTextAlignmentFromAlignment([value integerValue])]
forKey:SKNPDFAnnotationAlignmentKey];
+ [dict setValue:[NSNumber
numberWithInteger:SKNAlignmentFromTextAlignment([value integerValue])]
forKey:SKNPDFAnnotationAlignmentKey];
}
PDFKitPlatformFont *font = nil;
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