Revision: 13295
http://sourceforge.net/p/skim-app/code/13295
Author: hofman
Date: 2023-02-10 10:03:30 +0000 (Fri, 10 Feb 2023)
Log Message:
-----------
don't shadow variables
Modified Paths:
--------------
trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
Modified: trunk/SkimNotes/PDFAnnotation_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2023-02-09 16:21:26 UTC
(rev 13294)
+++ trunk/SkimNotes/PDFAnnotation_SKNExtensions.m 2023-02-10 10:03:30 UTC
(rev 13295)
@@ -388,10 +388,10 @@
id path = [value objectAtIndex:i];
NSMutableArray *points = [NSMutableArray array];
if ([path isKindOfClass:pathClass]) {
- NSInteger i, iMax = [path elementCount];
- for (i = 0; i < iMax; i++) {
+ NSInteger j, jMax = [path elementCount];
+ for (j = 0; j < jMax; j++) {
NSPoint p[3];
- if (NSCurveToBezierPathElement == [path
elementAtIndex:i associatedPoints:p])
+ if (NSCurveToBezierPathElement == [path
elementAtIndex:j associatedPoints:p])
[points addObject:NSStringFromPoint(p[2])];
else
[points addObject:NSStringFromPoint(p[0])];
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