Revision: 5694
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5694&view=rev
Author:   hofman
Date:     2009-09-06 15:16:00 +0000 (Sun, 06 Sep 2009)

Log Message:
-----------
don't use 10.6 bug fix on 10.5

Modified Paths:
--------------
    trunk/SKPDFPage.m

Modified: trunk/SKPDFPage.m
===================================================================
--- trunk/SKPDFPage.m   2009-09-06 15:01:19 UTC (rev 5693)
+++ trunk/SKPDFPage.m   2009-09-06 15:16:00 UTC (rev 5694)
@@ -85,7 +85,7 @@
 
 - (NSAttributedString *)attributedString {
     // on 10.6 the attributedstring is over-released by one
-    if (floor(NSAppKitVersionNumber) <= 1038)
+    if ((NSInteger)floor(NSAppKitVersionNumber) == 1038)
         return [[super attributedString] retain];
     return [super attributedString];
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to