From 4ffd7b043ca505e52b7f1c5a463e02534997c197 Mon Sep 17 00:00:00 2001 From: sqlprodev Date: Tue, 1 Mar 2011 19:01:41 +0000 Subject: fixed compiler warnings --- Source/SPNarrowDownCompletion.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/SPNarrowDownCompletion.m') 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 -- cgit v1.2.3