diff options
author | sqlprodev <sqlprodev@northofthree.com> | 2011-03-01 19:01:41 +0000 |
---|---|---|
committer | sqlprodev <sqlprodev@northofthree.com> | 2011-03-01 19:01:41 +0000 |
commit | 4ffd7b043ca505e52b7f1c5a463e02534997c197 (patch) | |
tree | a51f41c832ee7f0b2b425df4df655eb142356407 /Source/SPBundleHTMLOutputController.m | |
parent | 6eaeee8d11028cc626bcef2dd8dd2ceaabafe2a2 (diff) | |
download | sequelpro-4ffd7b043ca505e52b7f1c5a463e02534997c197.tar.gz sequelpro-4ffd7b043ca505e52b7f1c5a463e02534997c197.tar.bz2 sequelpro-4ffd7b043ca505e52b7f1c5a463e02534997c197.zip |
fixed compiler warnings
Diffstat (limited to 'Source/SPBundleHTMLOutputController.m')
-rw-r--r-- | Source/SPBundleHTMLOutputController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPBundleHTMLOutputController.m b/Source/SPBundleHTMLOutputController.m index 4b1567bb..370d3eec 100644 --- a/Source/SPBundleHTMLOutputController.m +++ b/Source/SPBundleHTMLOutputController.m @@ -25,6 +25,7 @@ #import "SPBundleHTMLOutputController.h" #import "SPAlertSheets.h" #import "SPPrintAccessory.h" +#import "SPAppController.h" @class WebScriptCallFrame; @@ -42,7 +43,7 @@ - (id)init { - if (self = [super initWithWindowNibName:@"BundleHTMLOutput"]) { + if ((self = [super initWithWindowNibName:@"BundleHTMLOutput"])) { [[self window] setReleasedWhenClosed:YES]; @@ -115,7 +116,6 @@ long allFlags = (NSShiftKeyMask|NSControlKeyMask|NSAlternateKeyMask|NSCommandKeyMask); NSString *characters = [theEvent characters]; NSString *charactersIgnMod = [theEvent charactersIgnoringModifiers]; - unichar insertedCharacter = [characters characterAtIndex:0]; long curFlags = ([theEvent modifierFlags] & allFlags); if(curFlags & NSCommandKeyMask) { |