aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNarrowDownCompletion.m
diff options
context:
space:
mode:
authorsqlprodev <sqlprodev@northofthree.com>2011-03-01 19:01:41 +0000
committersqlprodev <sqlprodev@northofthree.com>2011-03-01 19:01:41 +0000
commit4ffd7b043ca505e52b7f1c5a463e02534997c197 (patch)
treea51f41c832ee7f0b2b425df4df655eb142356407 /Source/SPNarrowDownCompletion.m
parent6eaeee8d11028cc626bcef2dd8dd2ceaabafe2a2 (diff)
downloadsequelpro-4ffd7b043ca505e52b7f1c5a463e02534997c197.tar.gz
sequelpro-4ffd7b043ca505e52b7f1c5a463e02534997c197.tar.bz2
sequelpro-4ffd7b043ca505e52b7f1c5a463e02534997c197.zip
fixed compiler warnings
Diffstat (limited to 'Source/SPNarrowDownCompletion.m')
-rw-r--r--Source/SPNarrowDownCompletion.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPNarrowDownCompletion.m b/Source/SPNarrowDownCompletion.m
index abc00d9a..ca7f7f7d 100644
--- a/Source/SPNarrowDownCompletion.m
+++ b/Source/SPNarrowDownCompletion.m
@@ -112,7 +112,7 @@
maxWindowWidth = 450;
- if(self = [super initWithContentRect:NSMakeRect(0,0,maxWindowWidth,0) styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:YES])
+ if((self = [super initWithContentRect:NSMakeRect(0,0,maxWindowWidth,0) styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:YES]))
{
mutablePrefix = [NSMutableString new];
originalFilterString = [NSMutableString new];
@@ -217,7 +217,7 @@
selectedDb:(NSString*)selectedDb caretMovedLeft:(BOOL)caretMovedLeft autoComplete:(BOOL)autoComplete oneColumn:(BOOL)oneColumn
alias:(NSString*)anAlias isQueryingDBStructure:(BOOL)isQueryingDBStructure
{
- if(self = [self init])
+ if((self = [self init]))
{
// Set filter string