changeset 1649:509effb15e35

Ug, missing parenthesis made that last fix misbehave in certain cirucumstances.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 07 Apr 2012 03:54:24 +0000
parents 7a9b1189934a
children 1f35129e4817
files mac/dw.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mac/dw.m	Sat Apr 07 03:11:51 2012 +0000
+++ b/mac/dw.m	Sat Apr 07 03:54:24 2012 +0000
@@ -851,7 +851,7 @@
 -(NSSize)size { return size; }
 -(void)mouseDown:(NSEvent *)theEvent 
 { 
-    if(![theEvent modifierFlags] & NSControlKeyMask)
+    if(!([theEvent modifierFlags] & NSControlKeyMask))
         _event_handler(self, theEvent, 3); 
 }
 -(void)mouseUp:(NSEvent *)theEvent { _event_handler(self, theEvent, 4); }