X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=OSX%2FSaverListController.m;h=9377275b7a51b01724d1e9e5f48d7f942dd16d27;hp=05d2c436aaa8b106d6f0ba569d0416815eeaa48e;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hpb=88cfe534a698a0562e81345957a50714af1453bc diff --git a/OSX/SaverListController.m b/OSX/SaverListController.m index 05d2c436..9377275b 100644 --- a/OSX/SaverListController.m +++ b/OSX/SaverListController.m @@ -28,7 +28,7 @@ - (void) titleTapped:(id) sender { [[UIApplication sharedApplication] - openURL:[NSURL URLWithString:@"http://www.jwz.org/xscreensaver/"]]; + openURL:[NSURL URLWithString:@"https://www.jwz.org/xscreensaver/"]]; } @@ -65,8 +65,9 @@ [button addTarget:self action:@selector(titleTapped:) forControlEvents:UIControlEventTouchUpInside]; - self.navigationItem.rightBarButtonItem = - [[UIBarButtonItem alloc] initWithCustomView: button]; + UIBarButtonItem *bi = [[UIBarButtonItem alloc] initWithCustomView: button]; + self.navigationItem.rightBarButtonItem = bi; + [bi release]; [button release]; // The title bar