From 27e87143e137d5ae01b33ce7e7587f68895957d5 Mon Sep 17 00:00:00 2001 From: Uli Kusterer Date: Fri, 4 Dec 2009 09:11:50 +0100 Subject: [PATCH] target is an ObjC object, so nil, not NULL. --- SUStatusController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUStatusController.m b/SUStatusController.m index 3d0d7f7c..c87c0c40 100644 --- a/SUStatusController.m +++ b/SUStatusController.m @@ -90,7 +90,7 @@ [actionButton setKeyEquivalent:isDefault ? @"\r" : @""]; // 06/05/2008 Alex: Avoid a crash when cancelling during the extraction - [self setButtonEnabled:(target != NULL)]; + [self setButtonEnabled: (target != nil)]; } - (BOOL)progressBarShouldAnimate