Revision: 5962
http://skim-app.svn.sourceforge.net/skim-app/?rev=5962&view=rev
Author: hofman
Date: 2009-10-29 11:07:39 +0000 (Thu, 29 Oct 2009)
Log Message:
-----------
fix starting point for max float value
Modified Paths:
--------------
trunk/PDFAnnotationMarkup_SKExtensions.m
Modified: trunk/PDFAnnotationMarkup_SKExtensions.m
===================================================================
--- trunk/PDFAnnotationMarkup_SKExtensions.m 2009-10-28 10:46:34 UTC (rev
5961)
+++ trunk/PDFAnnotationMarkup_SKExtensions.m 2009-10-29 11:07:39 UTC (rev
5962)
@@ -246,7 +246,7 @@
NSPoint point;
NSUInteger i;
- CGFloat minX = CGFLOAT_MAX, maxX = CGFLOAT_MIN, minY = CGFLOAT_MAX,
maxY = CGFLOAT_MIN;
+ CGFloat minX = CGFLOAT_MAX, maxX = -CGFLOAT_MAX, minY = CGFLOAT_MAX,
maxY = -CGFLOAT_MAX;
for (i = 0; i < 4; i++) {
point = [values[i] pointValue];
minX = SKMin(minX, point.x);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit