Revision: 18633
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18633&view=rev
Author:   hofman
Date:     2012-05-17 17:27:27 +0000 (Thu, 17 May 2012)
Log Message:
-----------
move scope of variable only used on 10.4

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPDFIcon.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPDFIcon.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPDFIcon.m       2012-05-17 
17:24:31 UTC (rev 18632)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVPDFIcon.m       2012-05-17 
17:27:27 UTC (rev 18633)
@@ -59,12 +59,12 @@
     CGContextRef context = 
[FVWindowGraphicsContextWithSize(NSSizeFromCGSize(layerSize)) graphicsPort];
     _pageLayer = CGLayerCreateWithContext(context, layerSize, NULL);
     context = CGLayerGetContext(_pageLayer);
-    CGFloat components[4] = { 1, 1 };
     CGColorRef color = NULL;
     if (NULL != &kCGColorWhite && NULL != CGColorGetConstantColor) {
         color = CGColorRetain(CGColorGetConstantColor(kCGColorWhite));
     }
     else {
+        CGFloat components[4] = { 1, 1 };
         CGColorSpaceRef cspace = 
CGColorSpaceCreateWithName(kCGColorSpaceGenericGray);
         color = CGColorCreate(cspace, components);
         CGColorSpaceRelease(cspace);

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


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to