Revision: 5670
http://skim-app.svn.sourceforge.net/skim-app/?rev=5670&view=rev
Author: hofman
Date: 2009-09-04 15:18:54 +0000 (Fri, 04 Sep 2009)
Log Message:
-----------
workaround for an over-release bug in 10.6
Modified Paths:
--------------
trunk/SKPDFPage.m
Modified: trunk/SKPDFPage.m
===================================================================
--- trunk/SKPDFPage.m 2009-09-04 15:04:41 UTC (rev 5669)
+++ trunk/SKPDFPage.m 2009-09-04 15:18:54 UTC (rev 5670)
@@ -82,4 +82,11 @@
return foregroundBox;
}
+- (NSAttributedString *)attributedString {
+ // on 10.6 the attributedstring is over-released by one
+ if (floor(NSAppKitVersionNumber) > 949)
+ return [[super attributedString] retain];
+ return [super attributedString];
+}
+
@end
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