aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTooltip.m
diff options
context:
space:
mode:
authorsqlprodev <sqlprodev@northofthree.com>2011-03-01 19:38:23 +0000
committersqlprodev <sqlprodev@northofthree.com>2011-03-01 19:38:23 +0000
commit761a00170b4a511e4dd615a208da1ee93a6b1a1e (patch)
tree57531ed23925153b42f76e3b510a895108ae22ce /Source/SPTooltip.m
parent4ffd7b043ca505e52b7f1c5a463e02534997c197 (diff)
downloadsequelpro-761a00170b4a511e4dd615a208da1ee93a6b1a1e.tar.gz
sequelpro-761a00170b4a511e4dd615a208da1ee93a6b1a1e.tar.bz2
sequelpro-761a00170b4a511e4dd615a208da1ee93a6b1a1e.zip
fixed compiler warnings
Diffstat (limited to 'Source/SPTooltip.m')
-rw-r--r--Source/SPTooltip.m7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/SPTooltip.m b/Source/SPTooltip.m
index b0344d52..5a0a2a2e 100644
--- a/Source/SPTooltip.m
+++ b/Source/SPTooltip.m
@@ -229,10 +229,9 @@ static CGFloat slow_in_out (CGFloat t)
- (id)init;
{
- if(self = [self initWithContentRect:NSMakeRect(1,1,1,1)
- styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO])
+ if((self = [self initWithContentRect:NSMakeRect(1,1,1,1)
+ styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO]))
{
- ;
}
return self;
}
@@ -393,7 +392,7 @@ static CGFloat slow_in_out (CGFloat t)
[keyWindow setAcceptsMouseMovedEvents:YES];
NSEvent* event = nil;
NSInteger eventType;
- while(event = [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:[NSDate distantFuture] inMode:NSDefaultRunLoopMode dequeue:YES])
+ while((event = [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:[NSDate distantFuture] inMode:NSDefaultRunLoopMode dequeue:YES]))
{
eventType = [event type];
if(eventType == NSKeyDown || eventType == NSLeftMouseDown || eventType == NSRightMouseDown || eventType == NSOtherMouseDown || eventType == NSScrollWheel)