Revision: 9167 http://sourceforge.net/p/skim-app/code/9167 Author: hofman Date: 2016-10-11 16:47:28 +0000 (Tue, 11 Oct 2016) Log Message: ----------- don't check last condition because we may get an uninitialized variable
Modified Paths: -------------- trunk/PDFAnnotation_SKExtensions.m Modified: trunk/PDFAnnotation_SKExtensions.m =================================================================== --- trunk/PDFAnnotation_SKExtensions.m 2016-10-10 14:52:27 UTC (rev 9166) +++ trunk/PDFAnnotation_SKExtensions.m 2016-10-11 16:47:28 UTC (rev 9167) @@ -208,7 +208,7 @@ point = SKBottomLeftPoint([page boundsForBox:kPDFDisplayBoxCropBox]); else if ([page rotation] == 180) point = SKBottomRightPoint([page boundsForBox:kPDFDisplayBoxCropBox]); - else if ([page rotation] == 270) + else point = SKTopRightPoint([page boundsForBox:kPDFDisplayBoxCropBox]); return [[[PDFDestination alloc] initWithPage:page atPoint:point] autorelease]; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Skim-app-commit mailing list Skim-app-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/skim-app-commit