Revision: 5907
          http://skim-app.svn.sourceforge.net/skim-app/?rev=5907&view=rev
Author:   hofman
Date:     2009-10-18 21:07:46 +0000 (Sun, 18 Oct 2009)

Log Message:
-----------
use single & for mask

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

Modified: trunk/SKColorSwatch.m
===================================================================
--- trunk/SKColorSwatch.m       2009-10-18 14:11:45 UTC (rev 5906)
+++ trunk/SKColorSwatch.m       2009-10-18 21:07:46 UTC (rev 5907)
@@ -399,10 +399,9 @@
 
 - (NSDragOperation)draggingUpdated:(id <NSDraggingInfo>)sender {
     NSPoint mouseLoc = [self convertPoint:[sender draggingLocation] 
fromView:nil];
-    BOOL isCopy = ([NSEvent standardModifierFlags] && 
NSDeviceIndependentModifierFlagsMask) == NSAlternateKeyMask;
+    BOOL isCopy = ([NSEvent standardModifierFlags] & 
NSDeviceIndependentModifierFlagsMask) == NSAlternateKeyMask;
     NSInteger i = isCopy ? [self insertionIndexAtPoint:mouseLoc] : [self 
colorIndexAtPoint:mouseLoc];
     NSDragOperation dragOp = isCopy ? NSDragOperationCopy : 
NSDragOperationGeneric;
-    
     if ([sender draggingSource] == self && draggedIndex == i && isCopy == NO)
         i = -1;
     [self setKeyboardFocusRingNeedsDisplayInRect:[self bounds]];


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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to