Revision: 5195
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5195&view=rev
Author:   hofman
Date:     2009-02-07 18:46:44 +0000 (Sat, 07 Feb 2009)

Log Message:
-----------
fix precompile checks

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

Modified: trunk/Files_SKExtensions.m
===================================================================
--- trunk/Files_SKExtensions.m  2009-02-07 18:39:53 UTC (rev 5194)
+++ trunk/Files_SKExtensions.m  2009-02-07 18:46:44 UTC (rev 5195)
@@ -48,11 +48,11 @@
         FSRef pathRef;
         CFURLRef downloadsURL;
         
-#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4
+#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4
         if (floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_4) {
 #endif
             err = FSFindFolder(kUserDomain, kDownloadsFolderType, TRUE, 
&pathRef);
-#if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4
+#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4
         } else {
             ICInstance inst;
             ICAttr junk = 0;
@@ -73,12 +73,12 @@
                 ICStop(inst);
             }
         }
+#endif
         if(err == noErr && (downloadsURL = 
CFURLCreateFromFSRef(CFAllocatorGetDefault(), &pathRef))) {
             downloadsDirectory = (NSString 
*)CFURLCopyFileSystemPath(downloadsURL, kCFURLPOSIXPathStyle);
             CFRelease(downloadsURL);
         }
     }
-#endif
     return downloadsDirectory;
 }
 


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

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to