Revision: 3707
          http://skim-app.svn.sourceforge.net/skim-app/?rev=3707&view=rev
Author:   hofman
Date:     2008-04-11 04:24:34 -0700 (Fri, 11 Apr 2008)

Log Message:
-----------
Fix check for selector.

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

Modified: trunk/SKPDFView.m
===================================================================
--- trunk/SKPDFView.m   2008-04-11 11:17:23 UTC (rev 3706)
+++ trunk/SKPDFView.m   2008-04-11 11:24:34 UTC (rev 3707)
@@ -1584,7 +1584,7 @@
         if (highlightAnnotation) {
             NSString *type = [highlightAnnotation type];
             if ([pboardType isEqualToString:NSColorPboardType]) {
-                if ((GetCurrentKeyModifiers() & optionKey) && 
[[highlightAnnotation type] respondsToSelector:@selector(setInteriorColor:)])
+                if ((GetCurrentKeyModifiers() & optionKey) && 
[highlightAnnotation respondsToSelector:@selector(setInteriorColor:)])
                     [(id)highlightAnnotation setInteriorColor:[NSColor 
colorFromPasteboard:pboard]];
                 else
                     [highlightAnnotation setColor:[NSColor 
colorFromPasteboard:pboard]];


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 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Skim-app-commit mailing list
Skim-app-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to