Revision: 4253
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4253&view=rev
Author:   hofman
Date:     2008-07-18 18:04:04 +0000 (Fri, 18 Jul 2008)

Log Message:
-----------
Don't use address operator to check whether c-functions are linked

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

Modified: trunk/SKTransitionController.m
===================================================================
--- trunk/SKTransitionController.m      2008-07-18 17:35:00 UTC (rev 4252)
+++ trunk/SKTransitionController.m      2008-07-18 18:04:04 UTC (rev 4253)
@@ -50,10 +50,10 @@
 #import "SKFullScreenWindow.h"
 
 BOOL CoreGraphicsServicesTransitionsDefined() {
-    return &_CGSDefaultConnection != kUnresolvedCFragSymbolAddress &&
-           &CGSNewTransition != kUnresolvedCFragSymbolAddress &&
-           &CGSInvokeTransition != kUnresolvedCFragSymbolAddress &&
-           &CGSReleaseTransition != kUnresolvedCFragSymbolAddress;
+    return _CGSDefaultConnection != (void *)kUnresolvedCFragSymbolAddress &&
+           CGSNewTransition != (void *)kUnresolvedCFragSymbolAddress &&
+           CGSInvokeTransition != (void *)kUnresolvedCFragSymbolAddress &&
+           CGSReleaseTransition != (void *)kUnresolvedCFragSymbolAddress;
 }
 
 @interface SKTransitionAnimation : NSAnimation {


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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to