fix a warning

This commit is contained in:
Mitchell Livingston 2011-02-12 00:25:24 +00:00
parent e5b8461919
commit 1f733f9d13
1 changed files with 2 additions and 3 deletions

View File

@ -27,7 +27,7 @@
@interface URLSheetWindowController (Private)
- (BOOL) updateOpenButtonForURL: (NSString *) string;
- (void) updateOpenButtonForURL: (NSString *) string;
@end
@ -74,7 +74,6 @@ NSString * urlString = nil;
openFrame.size.width = NSWidth(cancelFrame);
openFrame.origin.x = NSWidth([[self window] frame]) - NSWidth(openFrame) - 20.0 + 6.0; //I don't know why the extra 6.0 is needed
[fOpenButton setFrame: openFrame];
cancelFrame.origin.x = NSMinX(openFrame) - NSWidth(cancelFrame);
@ -115,7 +114,7 @@ NSString * urlString = nil;
@implementation URLSheetWindowController (Private)
- (BOOL) updateOpenButtonForURL: (NSString *) string
- (void) updateOpenButtonForURL: (NSString *) string
{
BOOL enable = YES;
if ([string isEqualToString: @""])