]> granicus.if.org Git - transmission/commitdiff
fix a warning
authorMitchell Livingston <livings124@transmissionbt.com>
Sat, 12 Feb 2011 00:25:24 +0000 (00:25 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Sat, 12 Feb 2011 00:25:24 +0000 (00:25 +0000)
macosx/URLSheetWindowController.m

index 696fef3ef639225e01d45d9cdc5e0f96f0241924..45ce3ce0e25fa95743a0e37445af39319b7e7ed5 100644 (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: @""])